commit | 53c5a099b8fd45632f4021f0a908b43aabe883fc | [log] [tgz] |
---|---|---|
author | Gabor Juhos <juhosg@openwrt.org> | Mon Oct 14 21:59:52 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Oct 18 14:03:54 2013 -0400 |
tree | 44f34f9b4467f91f75f9000428757ffbfd273882 | |
parent | 4a32c36daa37963cab9140fe9da9c62187931e3c [diff] |
rt2x00: rt2800lib: autodetect 5GHz band support If the RF chip supports more than 14 channels that indirectly means that it supports the 5GHz band. Use this fact to enable 5GHz band support instead of setting SUPPORT_BAND_5GHZ separately for each RF chip. Also move the setup code of the 2GHz band to the same place. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>