]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wl12xx: fix forced passive scans
authorLuciano Coelho <coelho@ti.com>
Thu, 22 Sep 2011 07:06:10 +0000 (10:06 +0300)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:53 +0000 (11:17 -0800)
commit83712d4c7e57857765ab82fc5acb61a120fbd747
tree0e9b6eff6f7f6c00f0ae7d4a8ed626ac869caa87
parentf502ae1bf5ec12ed0fe128413d22907d347f994a
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