diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-23 04:32:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:29 -0400 |
commit | 9ccebe6148bcb0aba2d89743df2ff182ced505ec (patch) | |
tree | 7209957870ae665e651510fe1828a03be9ea01e3 /net/mac80211/mlme.c | |
parent | d5edaedc16ebd0635435dec068d49e07a76ba7d9 (diff) |
mac80211: rename max_sleep_interval to max_sleep_period
Kalle points out that max_sleep_interval is somewhat confusing
because the value is measured in beacon intervals, and not in
TU. Rename it to max_sleep_period to be consistent with things
like DTIM period that are also measured in beacon intervals.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
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 { |