summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-ath9k_fix_survey_crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/540-ath9k_fix_survey_crash.patch')
-rw-r--r--package/mac80211/patches/540-ath9k_fix_survey_crash.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/mac80211/patches/540-ath9k_fix_survey_crash.patch b/package/mac80211/patches/540-ath9k_fix_survey_crash.patch
deleted file mode 100644
index b627f8f4a..000000000
--- a/package/mac80211/patches/540-ath9k_fix_survey_crash.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/main.c
-+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -183,6 +183,9 @@ static void ath_update_survey_stats(stru
- struct ath_cycle_counters *cc = &common->cc_survey;
- unsigned int div = common->clockrate * 1000;
-
-+ if (!ah->curchan)
-+ return;
-+
- if (ah->power_mode == ATH9K_PM_AWAKE)
- ath_hw_cycle_counters_update(common);
-