diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-30 01:01:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-30 01:01:06 +0000 |
commit | 478ae49618fd5125dd2f7e9ab59d5b66792c9abb (patch) | |
tree | 2f300d682a8f7b238015972a6315efa60909cb89 /package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch | |
parent | ce4aa59497e0f6cc2eda9e29e892cc150e40f8ac (diff) | |
download | mtk-20170518-478ae49618fd5125dd2f7e9ab59d5b66792c9abb.zip mtk-20170518-478ae49618fd5125dd2f7e9ab59d5b66792c9abb.tar.gz mtk-20170518-478ae49618fd5125dd2f7e9ab59d5b66792c9abb.tar.bz2 |
mac80211: update to wireless-testing 2012-05-29
SVN-Revision: 32002
Diffstat (limited to 'package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch')
-rw-r--r-- | package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch b/package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch deleted file mode 100644 index 8df5e73..0000000 --- a/package/mac80211/patches/563-ath9k_fix_ar9330_internal_regulator.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c -+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c -@@ -3809,7 +3809,7 @@ static bool is_pmu_set(struct ath_hw *ah - return true; - } - --static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) -+void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) - { - int internal_regulator = - ath9k_hw_ar9300_get_eeprom(ah, EEP_INTERNAL_REGULATOR); ---- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h -+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h -@@ -334,4 +334,7 @@ u8 *ar9003_get_spur_chan_ptr(struct ath_ - - unsigned int ar9003_get_paprd_scale_factor(struct ath_hw *ah, - struct ath9k_channel *chan); -+ -+void ar9003_hw_internal_regulator_apply(struct ath_hw *ah); -+ - #endif ---- a/drivers/net/wireless/ath/ath9k/hw.c -+++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -1477,6 +1477,9 @@ static bool ath9k_hw_chip_reset(struct a - return false; - - ah->chip_fullsleep = false; -+ -+ if (AR_SREV_9330(ah)) -+ ar9003_hw_internal_regulator_apply(ah); - ath9k_hw_init_pll(ah, chan); - ath9k_hw_set_rfmode(ah, chan); - |