From 82630f4299c56bc7acf04b17b86909c015c93a78 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 21 Jun 2013 10:57:35 +0000 Subject: [PATCH] ath9k_htc: fix idle mode handling Signed-off-by: Felix Fietkau SVN-Revision: 36983 --- package/mac80211/patches/300-pending_work.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); -- 2.30.2