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>
This commit is contained in:
Johannes Berg
2009-04-23 10:32:36 +02:00
committed by John W. Linville
parent d5edaedc16
commit 9ccebe6148
2 changed files with 3 additions and 3 deletions

View File

@@ -562,7 +562,7 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
maxslp = min_t(int, dtimper,
latency / beaconint_us);
local->hw.conf.max_sleep_interval = maxslp;
local->hw.conf.max_sleep_period = maxslp;
local->ps_sdata = found;
}
} else {