aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/567-ath9k_add_idle_hack.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-16 23:50:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-16 23:50:54 +0000
commit0da699b4064c594485633fb7f2d469c0997b7fc5 (patch)
treea2eefe8e32a16d4e96bc34ce5963c041e60978b0 /package/mac80211/patches/567-ath9k_add_idle_hack.patch
parent3257875e1b49e9f62c687bcb826f2b8f633c0441 (diff)
downloadupstream-0da699b4064c594485633fb7f2d469c0997b7fc5.tar.gz
upstream-0da699b4064c594485633fb7f2d469c0997b7fc5.tar.bz2
upstream-0da699b4064c594485633fb7f2d469c0997b7fc5.zip
mac80211: update to latest wireless-testing + some monitor mode fixes and some libertas driver fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32760 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/567-ath9k_add_idle_hack.patch')
-rw-r--r--package/mac80211/patches/567-ath9k_add_idle_hack.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/mac80211/patches/567-ath9k_add_idle_hack.patch b/package/mac80211/patches/567-ath9k_add_idle_hack.patch
deleted file mode 100644
index 9f1a43df32..0000000000
--- a/package/mac80211/patches/567-ath9k_add_idle_hack.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/main.c
-+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1044,6 +1044,7 @@ static void ath9k_remove_interface(struc
- ath9k_calculate_summary_state(hw, NULL);
-
- mutex_unlock(&sc->mutex);
-+ ath9k_config(hw, IEEE80211_CONF_CHANGE_IDLE);
- ath9k_ps_restore(sc);
- }
-
-@@ -1096,7 +1097,8 @@ int ath9k_config(struct ieee80211_hw *hw
- mutex_lock(&sc->mutex);
-
- if (changed & IEEE80211_CONF_CHANGE_IDLE) {
-- sc->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE);
-+ sc->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE) &&
-+ !sc->nvifs;
- if (sc->ps_idle) {
- ath_cancel_work(sc);
- ath9k_stop_btcoex(sc);