]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: allow disabling bands via platform data
authorFelix Fietkau <nbd@openwrt.org>
Sat, 25 Oct 2014 15:19:34 +0000 (17:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2014 18:16:19 +0000 (14:16 -0400)
commit3b1fd78795f9a6a2e0ecb591d8215f6274f3bd7f
tree025c8015b7fbea7b55484cefcbf307bc33368a17
parente32685aba47be9a0451dbf737fd4e768f4674a4d
ath9k: allow disabling bands via platform data

Some devices have multiple bands enables in the EEPROM data, even though
they are only calibrated for one. Allow platform data to disable
unsupported bands.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@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/init.c
include/linux/ath9k_platform.h