diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-07 16:46:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-07 16:46:04 +0000 |
commit | 6716ba9aadc93b2858ab800a84cb4335c92324ff (patch) | |
tree | 8f8fbea06486b2e23eb4be46d92b4b0f121e831c /package/mac80211/patches/562-ath9k_add_idle_hack.patch | |
parent | 3365e2caf014e24ff8ea091a3d93cb89f330b70b (diff) | |
download | upstream-6716ba9aadc93b2858ab800a84cb4335c92324ff.tar.gz upstream-6716ba9aadc93b2858ab800a84cb4335c92324ff.tar.bz2 upstream-6716ba9aadc93b2858ab800a84cb4335c92324ff.zip |
mac80211: update to wireless-testing 2012-12-06
SVN-Revision: 34571
Diffstat (limited to 'package/mac80211/patches/562-ath9k_add_idle_hack.patch')
-rw-r--r-- | package/mac80211/patches/562-ath9k_add_idle_hack.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/mac80211/patches/562-ath9k_add_idle_hack.patch b/package/mac80211/patches/562-ath9k_add_idle_hack.patch deleted file mode 100644 index 10fac17bd1..0000000000 --- a/package/mac80211/patches/562-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 -@@ -1087,6 +1087,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); - } - -@@ -1139,7 +1140,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); |