Changeset 36983


Ignore:
Timestamp:
2013-06-21T12:57:35+02:00 (5 years ago)
Author:
nbd
Message:

ath9k_htc: fix idle mode handling

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/300-pending_work.patch

    r36977 r36983  
    301301 } 
    302302  
     303--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c 
     304+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c 
     305@@ -1183,7 +1183,7 @@ static int ath9k_htc_config(struct ieee8 
     306                mutex_lock(&priv->htc_pm_lock); 
     307  
     308                priv->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE); 
     309-               if (priv->ps_idle) 
     310+               if (!priv->ps_idle) 
     311                        chip_reset = true; 
     312  
     313                mutex_unlock(&priv->htc_pm_lock); 
Note: See TracChangeset for help on using the changeset viewer.