ath9k_htc: Handle IDLE state transition properly
PATCH 1/1 ath9k_htc: Handle IDLE state transition properly
From: Sujith Manoharan <[email protected]>
Make sure that a chip reset is done when IDLE is turned off - this fixes authentication timeouts.
Reported-by Ignacy Gawedzki <[email protected]>
Signed-off-by Sujith Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath9k/htc_drv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/htc_drv_main.c +1 -1
@@ -1183,7 +1183,7 @@ static int ath9k_htc_config(struct ieee80211_hw *hw, u32 changed)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);
Signature · 1 line
1.8.3.1