]> err.no Git - linux-2.6/commit
[PATCH] libertas: fix deadlock SIOCGIWSCAN handler
authorDan Williams <dcbw@redhat.com>
Sat, 26 May 2007 02:18:47 +0000 (22:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:43 +0000 (14:28 -0400)
commit80e78ef74dffb2195e2a1164c18579180a76fd5b
tree362cae9f290534bb810f263477c977c6d082cebe
parent94b23855c034ffa50e1f94f43ef4500520e4c36e
[PATCH] libertas: fix deadlock SIOCGIWSCAN handler

Update signal quality before the locked scan result translation loop,
because calling libertas_prepare_and_send_command() with the
'waitforrsp' option grabs adapter->lock in the command return processing,
leading to the deadlock.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/scan.c