Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
This commit is contained in:
@@ -237,6 +237,10 @@ ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx)
|
||||
&local->dynamic_ps_disable_work);
|
||||
}
|
||||
|
||||
/* Don't restart the timer if we're not disassociated */
|
||||
if (!ifmgd->associated)
|
||||
return TX_CONTINUE;
|
||||
|
||||
mod_timer(&local->dynamic_ps_timer, jiffies +
|
||||
msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user