]> 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:43:09 +0000 (09:43 -0800)
commit212b9506b3f6b27cd0c3a2eed9ba1a3aa8d674d7
treed810b212158032ef2750fad31d831f474df56679
parent6d06e8d0a5bcc13717291fe46303bfd32cfb9d7a
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