]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: split channel array per band in sched_scan
authorLuciano Coelho <coelho@ti.com>
Tue, 31 May 2011 13:38:56 +0000 (16:38 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 09:01:20 +0000 (12:01 +0300)
commitb3d78e9b42fc36befedb0b486045bcc003d67b61
tree83d281c87d3522b2fbe1e4667e53267669b0276b
parentf3751d1580be7d4e1081724ba04ce8bc0a22c75b
wl12xx: split channel array per band in sched_scan

The firmware, in practice, treats the channels in three separate
blocks, one for each band (bg, a and j).  Instead of using a single
array and doing some magic with indices, split the array in 3 to make
it more readable.

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