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

Commit 30b81898 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by Kalle Valo
Browse files

ath9k: Fix wlan-active gpio for the AR9003 family



When disabling BTCOEX, clearing the wlanactive gpio line
is required only for pre-AR9003 cards.

Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e1ff147d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -361,6 +361,7 @@ void ath9k_hw_btcoex_disable(struct ath_hw *ah)
		return;
	}

	if (!AR_SREV_9300_20_OR_LATER(ah))
		ath9k_hw_set_gpio(ah, btcoex_hw->wlanactive_gpio, 0);

	ath9k_hw_cfg_output(ah, btcoex_hw->wlanactive_gpio,