]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: fix DFS channels handling in scheduled scan
authorLuciano Coelho <coelho@ti.com>
Fri, 27 May 2011 12:34:46 +0000 (15:34 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 31 May 2011 18:47:25 +0000 (14:47 -0400)
commit4d3e583ce3a56f1032d97fc5cb5cd5b3ce17f8ed
tree530cd6f0533ae65ec3336e3b85e7f94f051d54d7
parente1f99601641b4d27cf57a5528c84ef56e3394483
wl12xx: fix DFS channels handling in scheduled scan

DFS channels were never getting included in the scheduled scans,
because they always contain the passive flag as well and the call was
asking for DFS and active channels.

Fix this by ignoring the passive flag when collecting DFS channels.
Also, move the DFS channels in the channel list before the 5GHz active
channels (this was implemented in the FW differently than specified).

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/scan.c
drivers/net/wireless/wl12xx/scan.h