]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
wl12xx: fix forced passive scans
authorLuciano Coelho <coelho@ti.com>
Thu, 22 Sep 2011 07:06:10 +0000 (10:06 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 22 Sep 2011 10:21:41 +0000 (13:21 +0300)
commit6cd9d21a0c1e2648c07c32c66bb25795ad3208aa
treee44cf39abf2ef7925e8c2ee74cb271a96379b2d9
parented46fdfc54d2d4523fdd727708fe0b9e2be993cc
wl12xx: fix forced passive scans

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.

Cc: <stable@kernel.org> # 2.6.36+
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/scan.c