2 Mar 2009 02:11
Legacy driver dead lock problem
clement.fab <clement.fab <at> gmail.com>
2009-03-02 01:11:32 GMT
2009-03-02 01:11:32 GMT
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(Continue reading)
RSS Feed