Explorar el Código

ath9k_htc: fix idle mode handling

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 36983
Felix Fietkau hace 12 años
padre
commit
9bb0e9b9f1
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      package/mac80211/patches/300-pending_work.patch

+ 11 - 0
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);