aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-07 19:41:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-07 19:41:07 +0000
commit47f462d16716fdbcb24af448009d7c84f26c33d3 (patch)
tree3bb43623cbdd8222e53e7e2a9a85122ec6ce2adc /package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch
parentb798df3e960f6bcb4910a4bee447ccadc0bb7d97 (diff)
downloadmaster-187ad058-47f462d16716fdbcb24af448009d7c84f26c33d3.tar.gz
master-187ad058-47f462d16716fdbcb24af448009d7c84f26c33d3.tar.bz2
master-187ad058-47f462d16716fdbcb24af448009d7c84f26c33d3.zip
mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43210 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch')
-rw-r--r--package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch b/package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch
deleted file mode 100644
index 36da40402a..0000000000
--- a/package/kernel/mac80211/patches/305-ath9k-Process-beacons-properly.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
-Date: Fri, 17 Oct 2014 07:40:10 +0530
-Subject: [PATCH] ath9k: Process beacons properly
-
-When the current operating channel context has
-been marked as ATH_CHANCTX_STATE_FORCE_ACTIVE,
-do not process beacons that might be received,
-since we have to wait for the station to become
-authorized.
-
-Also, since the cached TSF value will be zero
-initially do not rearm the timer in this
-case when a beacon is received, since it results
-in spurious values.
-
-Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
----
-
---- a/drivers/net/wireless/ath/ath9k/channel.c
-+++ b/drivers/net/wireless/ath/ath9k/channel.c
-@@ -495,10 +495,15 @@ void ath_chanctx_event(struct ath_softc
- sc->cur_chan == &sc->offchannel.chan)
- break;
-
-- ath_chanctx_adjust_tbtt_delta(sc);
- sc->sched.beacon_pending = false;
- sc->sched.beacon_miss = 0;
-
-+ if (sc->sched.state == ATH_CHANCTX_STATE_FORCE_ACTIVE ||
-+ !sc->cur_chan->tsf_val)
-+ break;
-+
-+ ath_chanctx_adjust_tbtt_delta(sc);
-+
- /* TSF time might have been updated by the incoming beacon,
- * need update the channel switch timer to reflect the change.
- */