aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index b688425d7555..b3c99d3c61ba 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -751,7 +751,8 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
751 bss_info_changed |= BSS_CHANGED_BASIC_RATES; 751 bss_info_changed |= BSS_CHANGED_BASIC_RATES;
752 ieee80211_bss_info_change_notify(sdata, bss_info_changed); 752 ieee80211_bss_info_change_notify(sdata, bss_info_changed);
753 753
754 if (local->powersave) { 754 if (local->powersave &&
755 !(local->hw.flags & IEEE80211_HW_NO_STACK_DYNAMIC_PS)) {
755 if (local->dynamic_ps_timeout > 0) 756 if (local->dynamic_ps_timeout > 0)
756 mod_timer(&local->dynamic_ps_timer, jiffies + 757 mod_timer(&local->dynamic_ps_timer, jiffies +
757 msecs_to_jiffies(local->dynamic_ps_timeout)); 758 msecs_to_jiffies(local->dynamic_ps_timeout));