wl12xx/wl18xx: scan all 5ghz channels
authorEliad Peller <eliad@wizery.com>
Tue, 7 May 2013 12:41:09 +0000 (15:41 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 14:20:57 +0000 (10:20 -0400)
commita805de4d036152a4ad7d3b18a9993a5c86588d6d
treeffc13f8f0822ac1cf7507c4a4fd1032f318ea873
parent0e284c074ef96554f2988298da7d110b0e8d1e23
wl12xx/wl18xx: scan all 5ghz channels

Due to a typo, the current code copies only sizeof(cmd->channels_2)
bytes, which is smaller than the correct sizeof(cmd->channels_5)
size, resulting in a partial scan (some channels are skipped).

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