ath9k: Fix LNA gpio for AR9485
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 17 Jun 2013 01:31:47 +0000 (07:01 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Jun 2013 18:38:52 +0000 (14:38 -0400)
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>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index 9a00bc0a930422f47b749981b7270b774fcc83f6..eae23b910bce3d26a3eb386c4d6e4b0dcf52760d 100644 (file)
@@ -3576,7 +3576,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz)
                else
                        gpio = AR9300_EXT_LNA_CTL_GPIO_AR9485;
 
-               ath9k_hw_cfg_output(ah, AR9300_EXT_LNA_CTL_GPIO_AR9485,
+               ath9k_hw_cfg_output(ah, gpio,
                                    AR_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED);
        }
 
This page took 0.027418 seconds and 5 git commands to generate.