]> git.baikalelectronics.ru Git - kernel.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)
commit5dc83492b372546a5e8d5354d463f6ef566627f1
treee44cf39abf2ef7925e8c2ee74cb271a96379b2d9
parent8488d76432a3704c98df2bdefa8bd5e8193df09f
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