|
@@ -1174,7 +1174,7 @@ static int ath9k_htc_config(struct ieee80211_hw *hw, u32 changed)
|
|
|
mutex_lock(&priv->htc_pm_lock);
|
|
mutex_lock(&priv->htc_pm_lock);
|
|
|
|
|
|
|
|
priv->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE);
|
|
priv->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE);
|
|
|
- if (priv->ps_idle)
|
|
|
|
|
|
|
+ if (!priv->ps_idle)
|
|
|
chip_reset = true;
|
|
chip_reset = true;
|
|
|
|
|
|
|
|
mutex_unlock(&priv->htc_pm_lock);
|
|
mutex_unlock(&priv->htc_pm_lock);
|