p54: sort channel list by frequency instead of channel index
commit192abece7565ab37048dfd5eced966cfb2fda6f5
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 12 Feb 2011 20:49:38 +0000 (12 21:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Feb 2011 20:51:21 +0000 (14 15:51 -0500)
tree7bb7dc73e2c4d7da5d8695dce818bd233744e63b
parent91f71fa5da00ff50398d8592f304cfec54eed550
p54: sort channel list by frequency instead of channel index

Some channel indices of the low 5GHz band clash with
those of the 2.4GHz band. Therefore we should go
with the channel's center frequency.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/eeprom.c