]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wl12xx: fix forced passive scans
authorLuciano Coelho <coelho@ti.com>
Thu, 22 Sep 2011 07:06:10 +0000 (10:06 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:35:52 +0000 (09:35 -0800)
commit40b3c4dc2c6c44972323be3a1ebd62c4fe35fac0
tree4aa6a55db53622dfdf725c58ef1c264dbc993b57
parentbabba877daf7a7ee0cb03dfb5e63f23e2d32dddf
wl12xx: fix forced passive scans

commit 6cd9d21a0c1e2648c07c32c66bb25795ad3208aa upstream.

We were using incorrect max and min dwell times during forced passive
scans because we were still using the active scan states to scan
(passively) the channels that were not marked as passive.

Instead of doing passive scans in active states, we now skip active
states and scan for all channels in passive states.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/wl12xx/scan.c