wifi: ath9k: call external_reset on AR91xx
PATCH 1/1 wifi: ath9k: call external_reset on AR91xx
Fixes some stability issues there.
Signed-off-by Felix Fietkau <[email protected]>
Signed-off-by Rosen Penev <[email protected]>
--- drivers/net/wireless/ath/ath9k/hw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/hw.c +5 -1
@@ -1448,8 +1448,12 @@ static bool ath9k_hw_set_reset(struct ath_hw *ah, int type)if (!AR_SREV_9100 (ah))REG_WRITE (ah,AR_RC ,0 ); -if (AR_SREV_9100 (ah)) +if (AR_SREV_9100 (ah)) { +/* Reset the AHB-WMAC interface */ +if (ah->external_reset) + ah->external_reset ();udelay (50 ); + }if (AR_SREV_9330 (ah) ||AR_SREV_9340 (ah))ath9k_hw_disable_pll_lock_detect (ah);
Signature · 1 line
2.54.0
Toke Høiland-Jørgensen
maintainerQuoted 4 lines · Rosen Penev
Fixes some stability issues there.
Signed-off-by Felix Fietkau <[email protected]>Signed-off-by Rosen Penev <[email protected]>
Same comment for this one - how did you test? :)
-Toke