aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-06-16 21:31:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-17 14:38:52 -0400
commitbac76a3d07133f6d9389689f3693b78f68b77adb (patch)
tree1046fbc0089f4f6f3ad9ab89a43e1b26628f20bd
parent6390d88529835a8ad3563fe01a5da89fa52d6db2 (diff)
ath9k: Fix LNA gpio for AR9485
The commit "ath9k: Add custom parameters for CUS198" didn't pass the correct gpio value to ath9k_hw_cfg_output(). Fix it. Reported-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-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 9a00bc0a9304..eae23b910bce 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3576,7 +3576,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz)
3576 else 3576 else
3577 gpio = AR9300_EXT_LNA_CTL_GPIO_AR9485; 3577 gpio = AR9300_EXT_LNA_CTL_GPIO_AR9485;
3578 3578
3579 ath9k_hw_cfg_output(ah, AR9300_EXT_LNA_CTL_GPIO_AR9485, 3579 ath9k_hw_cfg_output(ah, gpio,
3580 AR_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED); 3580 AR_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED);
3581 } 3581 }
3582 3582