diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-09 15:31:35 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-15 14:19:13 +0200 |
commit | 98e4b504b45c5d6e68a48fc815e3d2a5d0d2ba13 (patch) | |
tree | 5b9a72a0693f2363fe578d683900e066deddc475 /package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch | |
parent | a176168a85477caa44eef7e979567d1d52868fde (diff) | |
download | upstream-98e4b504b45c5d6e68a48fc815e3d2a5d0d2ba13.tar.gz upstream-98e4b504b45c5d6e68a48fc815e3d2a5d0d2ba13.tar.bz2 upstream-98e4b504b45c5d6e68a48fc815e3d2a5d0d2ba13.zip |
ath9k: use external reset on AR91xx and QCA955x to improve stability
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch')
-rw-r--r-- | package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch b/package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch index 9462fcaafa..b9c962e1b5 100644 --- a/package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch +++ b/package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch @@ -20,9 +20,9 @@ /******************/ /* Chip Revisions */ /******************/ -@@ -1397,6 +1410,9 @@ static bool ath9k_hw_set_reset(struct at - if (AR_SREV_9100(ah)) +@@ -1417,6 +1430,9 @@ static bool ath9k_hw_set_reset(struct at udelay(50); + } + if (AR_SREV_9330(ah) || AR_SREV_9340(ah)) + ath9k_hw_disable_pll_lock_detect(ah); @@ -30,7 +30,7 @@ return true; } -@@ -1496,6 +1512,9 @@ static bool ath9k_hw_chip_reset(struct a +@@ -1516,6 +1532,9 @@ static bool ath9k_hw_chip_reset(struct a ar9003_hw_internal_regulator_apply(ah); ath9k_hw_init_pll(ah, chan); @@ -40,7 +40,7 @@ return true; } -@@ -1799,8 +1818,14 @@ static int ath9k_hw_do_fastcc(struct ath +@@ -1819,8 +1838,14 @@ static int ath9k_hw_do_fastcc(struct ath if (AR_SREV_9271(ah)) ar9002_hw_load_ani_reg(ah, chan); @@ -55,7 +55,7 @@ return -EINVAL; } -@@ -2054,6 +2079,9 @@ int ath9k_hw_reset(struct ath_hw *ah, st +@@ -2074,6 +2099,9 @@ int ath9k_hw_reset(struct ath_hw *ah, st ath9k_hw_set_radar_params(ah); } |