Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath9k: set diversity group for AR9330

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Gabor Juhos and committed by
John W. Linville
c4cf2c58 e7ef5bc0

+4 -1
+4 -1
drivers/net/wireless/ath/ath9k/ar9003_phy.c
··· 1215 1215 antconf->fast_div_bias = (regval & AR_PHY_9485_ANT_FAST_DIV_BIAS) >> 1216 1216 AR_PHY_9485_ANT_FAST_DIV_BIAS_S; 1217 1217 1218 - if (AR_SREV_9485(ah)) { 1218 + if (AR_SREV_9330_11(ah)) { 1219 + antconf->lna1_lna2_delta = -9; 1220 + antconf->div_group = 1; 1221 + } else if (AR_SREV_9485(ah)) { 1219 1222 antconf->lna1_lna2_delta = -9; 1220 1223 antconf->div_group = 2; 1221 1224 } else {