]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libertas: switch to a waitqueue and timer for handling USB firmware load
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 11 Dec 2007 05:07:58 +0000 (00:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:39 +0000 (15:06 -0800)
commit4f82f5c853e314dfe877b87b4c1e4b127ee9a34b
tree71f48875b74f1a0a0c010bb9b9cd37cb31d72f69
parentc8ba39d0605200c81f43c59418871e036d973685
libertas: switch to a waitqueue and timer for handling USB firmware load

No need to busy-wait, even if we did have a 100ms delay in the loop.
This makes it easier to support the new 'firmware ready' event which is
in the new firmware, too.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/if_usb.h