summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.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
commit740c755805810f7179891099bae984436f20ff56 (patch)
treea7ecfe2ea1bef247c584adce22f49301b08fd957 /package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch
parent82e2aeb59952899bd0dbcf728d2e2788570a2561 (diff)
downloadmaster-31e0f0ae-740c755805810f7179891099bae984436f20ff56.tar.gz
master-31e0f0ae-740c755805810f7179891099bae984436f20ff56.tar.bz2
master-31e0f0ae-740c755805810f7179891099bae984436f20ff56.zip
mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43210
Diffstat (limited to 'package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch')
-rw-r--r--package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch b/package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch
deleted file mode 100644
index 4c5644271d..0000000000
--- a/package/kernel/mac80211/patches/314-ath9k-Send-AUTHORIZED-event-only-for-station-mode.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
-Date: Fri, 17 Oct 2014 07:40:19 +0530
-Subject: [PATCH] ath9k: Send AUTHORIZED event only for station mode
-
-ATH_CHANCTX_EVENT_AUTHORIZED is required to trigger
-the MCC scheduler when a station interface becomes
-authorized. But, since the driver gets station state
-notifications when the current operating mode is AP
-too, make sure that we send ATH_CHANCTX_EVENT_AUTHORIZED
-only when the interface is in station mode.
-
-Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
----
-
---- a/drivers/net/wireless/ath/ath9k/main.c
-+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1590,10 +1590,12 @@ static int ath9k_sta_state(struct ieee80
- }
-
- if (ath9k_is_chanctx_enabled()) {
-- if (old_state == IEEE80211_STA_ASSOC &&
-- new_state == IEEE80211_STA_AUTHORIZED)
-- ath_chanctx_event(sc, vif,
-- ATH_CHANCTX_EVENT_AUTHORIZED);
-+ if (vif->type == NL80211_IFTYPE_STATION) {
-+ if (old_state == IEEE80211_STA_ASSOC &&
-+ new_state == IEEE80211_STA_AUTHORIZED)
-+ ath_chanctx_event(sc, vif,
-+ ATH_CHANCTX_EVENT_AUTHORIZED);
-+ }
- }
-
- return ret;