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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 2029b71eb879..f8925ca7c8f0 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -562,7 +562,7 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
562 maxslp = min_t(int, dtimper, 562 maxslp = min_t(int, dtimper,
563 latency / beaconint_us); 563 latency / beaconint_us);
564 564
565 local->hw.conf.max_sleep_interval = maxslp; 565 local->hw.conf.max_sleep_period = maxslp;
566 local->ps_sdata = found; 566 local->ps_sdata = found;
567 } 567 }
568 } else { 568 } else {