Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bac76a3d authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

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: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6390d885
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}