]> git.karo-electronics.de Git - mv-sheeva.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)
commit2497a246e880d1fb537f754f551177c01fa39242
tree530cd6f0533ae65ec3336e3b85e7f94f051d54d7
parentdd08682150e1815fe5cdd0673a2f2e9cd2d55a7a
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