wl1271: Fix scan failure detection
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 26 Oct 2010 11:24:38 +0000 (13:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:19 +0000 (13:25 -0500)
In scan_complete_work, because the mutex is released before accessing the
scan->failed flag, it is possible for unfounded hardware recovery rounds
to be executed.

Fix this.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>

No differences found