]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: wait for join command complete event
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 26 Mar 2010 10:53:20 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:13 +0000 (14:39 -0400)
commit7e01e99388ab96a8413c388c1be73810b4be9b6a
tree1ac0570e5c04f9d581ede7ee8931e8995497b0f7
parent0e3aff6d6ec1b630bcc8f120800d27d204c3ed0e
wl1271: wait for join command complete event

Poll for join command completion instead of waiting blindly for 10 msecs.
There is a timeout of 100 msecs, if the command doesn't complete by then, we
return an error code.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_boot.c
drivers/net/wireless/wl12xx/wl1271_cmd.c
drivers/net/wireless/wl12xx/wl1271_cmd.h