]> 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)
commitb9a53828f914524484b64c2f46d4ff257e166673
treee44cf39abf2ef7925e8c2ee74cb271a96379b2d9
parent138f70ca19177fd4c41196a16bf14cbbbcd54a53
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