aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-18 17:38:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-18 17:38:59 +0000
commit2a685ec414827d135ee2788e42eed8021349aae1 (patch)
tree6bac812e354dc97195bb8843af018fed228440d6 /package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch
parent3cb3abd960114f0efc8b13f5c53b256cb5f704a6 (diff)
downloadmaster-187ad058-2a685ec414827d135ee2788e42eed8021349aae1.tar.gz
master-187ad058-2a685ec414827d135ee2788e42eed8021349aae1.tar.bz2
master-187ad058-2a685ec414827d135ee2788e42eed8021349aae1.zip
mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42952 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch')
-rw-r--r--package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch b/package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch
deleted file mode 100644
index aaa4e29a85..0000000000
--- a/package/kernel/mac80211/patches/567-ath9k_fix_init_nfcal.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/ar9002_calib.c
-+++ b/drivers/net/wireless/ath/ath9k/ar9002_calib.c
-@@ -854,6 +854,7 @@ static bool ar9002_hw_init_cal(struct at
-
- /* Do PA Calibration */
- ar9002_hw_pa_cal(ah, true);
-+ ath9k_hw_start_nfcal(ah, true);
-
- if (ah->caldata)
- set_bit(NFCAL_PENDING, &ah->caldata->cal_flags);
---- a/drivers/net/wireless/ath/ath9k/hw.c
-+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1997,8 +1997,10 @@ int ath9k_hw_reset(struct ath_hw *ah, st
- if (ath9k_hw_mci_is_enabled(ah))
- ar9003_mci_check_bt(ah);
-
-- ath9k_hw_loadnf(ah, chan);
-- ath9k_hw_start_nfcal(ah, true);
-+ if (AR_SREV_9300_20_OR_LATER(ah)) {
-+ ath9k_hw_loadnf(ah, chan);
-+ ath9k_hw_start_nfcal(ah, true);
-+ }
-
- if (AR_SREV_9300_20_OR_LATER(ah))
- ar9003_hw_bb_watchdog_config(ah);