aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-11-25 20:51:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 10:45:09 -0500
commitc588502a732451d199ea27fa5eae9045230e786b (patch)
tree07869a5c7918c999a5df597fb97209fec5e3ae6d
parent464f44b6e46f257d24a560d0103298865ca67173 (diff)
ath9k: Fix XLNA bias strength
commit a1783a7b0846fc6414483e6caf646db72023fffd upstream. The EEPROM parameter to determine whether the bias strength values for XLNA have to be applied is part of the miscConfiguration field and not featureEnable. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index e71413c8e0c6..f71a9eded5a4 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3990,7 +3990,7 @@ static void ar9003_hw_xlna_bias_strength_apply(struct ath_hw *ah, bool is2ghz)
3990 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; 3990 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
3991 u8 bias; 3991 u8 bias;
3992 3992
3993 if (!(eep->baseEepHeader.featureEnable & 0x40)) 3993 if (!(eep->baseEepHeader.miscConfiguration & 0x40))
3994 return; 3994 return;
3995 3995
3996 if (!AR_SREV_9300(ah)) 3996 if (!AR_SREV_9300(ah))