aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-21 10:57:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-06-21 10:57:35 +0000
commit85abb585786ef230e9dfff3b5295043fecdbb379 (patch)
treef7ee9888bea2a435a3a441e9f2ea1cb1577f000c /package/mac80211/patches
parentd20937ac5b13f177e86283ac0374a4953646e08f (diff)
downloadmaster-187ad058-85abb585786ef230e9dfff3b5295043fecdbb379.tar.gz
master-187ad058-85abb585786ef230e9dfff3b5295043fecdbb379.tar.bz2
master-187ad058-85abb585786ef230e9dfff3b5295043fecdbb379.zip
ath9k_htc: fix idle mode handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/300-pending_work.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 8a5fa6e502..bd21e53405 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -300,3 +300,14 @@
}
}
+--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
++++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+@@ -1183,7 +1183,7 @@ static int ath9k_htc_config(struct ieee8
+ mutex_lock(&priv->htc_pm_lock);
+
+ priv->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE);
+- if (priv->ps_idle)
++ if (!priv->ps_idle)
+ chip_reset = true;
+
+ mutex_unlock(&priv->htc_pm_lock);