]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6182a55d5f2160923b5cfc446b0c28468437849
tree45aad580765aba12a3283418227383a07cf53080
parent8d1cd5a5648c5100473fe8c1ecf38ee4e88abddd
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