Hello

I think I found a deadlock problem in the legacy driver. It may no be of a
huge interest, as there is a timeout (10 seconds) but here it is:

- In zd1205_ioctl : one of the first line is protection using
down(&macp->ioctl_sem);

- if you want to "iwconfig xxx mode master" there is a time-out loop of 10
secs which will be freed when dot11Obj.bChScanning is true.

- dot11Obj.bChScanning is set to true in kevent processing, 

-  kevent processing which start with a ..... down(&macp->ioctl_sem)

>From a user point of view it looks like that the process configuring the
driver is dead (no reaction anymore) and watchdog will kicked in.

I'am working on a patch for this.

Another point : in zd1205_ioctl_setmode , there are registers writes (AP,/AP
filtering), that don't look in the right place. For me they should be setup
"protectively" in update_card_settings event. Can anyone confirm? If so I'll
also provide a patch.

Regards - Fab








-- 
View this message in context: 
http://www.nabble.com/Legacy-driver-dead-lock-problem-tp22278880p22278880.html
Sent from the zd1211-devs mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to