ath9k: enable 2GHz band only if the device supports it
authorGabor Juhos <juhosg@openwrt.org>
Fri, 27 Nov 2009 11:01:35 +0000 (12:01 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Dec 2009 19:16:23 +0000 (14:16 -0500)
commita9a29ce674ac62e7bfcb6c1404ca86cda4782988
tree45aad580765aba12a3283418227383a07cf53080
parent1f351e3840dcf25aaddec2d908c3ab06ae105ee6
ath9k: enable 2GHz band only if the device supports it

Currently, the 2GHz band is enabled unconditionally, even if the device
does not support it.

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/main.c