wl1271: Change supported channel order for a more optimal scan
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 10 Aug 2010 06:22:02 +0000 (08:22 +0200)
committerLuciano Coelho <luciano.coelho@nokia.com>
Tue, 28 Sep 2010 09:15:07 +0000 (12:15 +0300)
commitfa21c7a9e4be439e217fe72edbd39b643b643791
treea11d598b953d7dee82b517838b0f3e159b7dc01a
parent4f35c0253ab7f32cf30eab5459e8256af1619ff1
wl1271: Change supported channel order for a more optimal scan

The mac80211 inserts channels into a scan request in the same order the driver
registers them. Use this fact to optimize scan by ordering the channels so
that adjacent channels don't get scanned consecutively.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/wl1271_main.c