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)
commitd2c2bb9fccdfe3cb70b276ae69e53d4890b11871
tree83d281c87d3522b2fbe1e4667e53267669b0276b
parentd192d268a1fb632148046b8efe9ab78e69890dd2
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