mirror of https://github.com/hak5/openwrt.git
ath9k: fix a regression in touching power mode related registers
SVN-Revision: 29341lede-17.01
parent
2dfa9533f9
commit
cb76939571
|
@ -0,0 +1,12 @@
|
|||
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
||||
@@ -1846,7 +1846,8 @@ static void ath9k_set_power_sleep(struct
|
||||
}
|
||||
|
||||
/* Clear Bit 14 of AR_WA after putting chip into Full Sleep mode. */
|
||||
- REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE);
|
||||
+ if (AR_SREV_9300_20_OR_LATER(ah))
|
||||
+ REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE);
|
||||
}
|
||||
|
||||
/*
|
Loading…
Reference in New Issue