diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-04-27 12:47:40 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:22 -0400 |
commit | 195e294d21e88af879da4f88db2ceeb4ec28a755 (patch) | |
tree | 22a75db60cc8743888054460db85eb9a76b0cecb /net/mac80211/main.c | |
parent | 3a37495268ab45507b4cab9d4cb18c5496ab7a10 (diff) | |
download | kernel_samsung_tuna-195e294d21e88af879da4f88db2ceeb4ec28a755.zip kernel_samsung_tuna-195e294d21e88af879da4f88db2ceeb4ec28a755.tar.gz kernel_samsung_tuna-195e294d21e88af879da4f88db2ceeb4ec28a755.tar.bz2 |
mac80211: Determine dynamic PS timeout based on ps-qos network latency
Determine the dynamic PS timeout based on the configured ps-qos network
latency. For backwards wext compatibility, allow the dynamic PS timeout
configured by the cfg80211 to overrule the automatically determined value.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 4afe851..ebcca0e 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -569,6 +569,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) local->hw.conf.listen_interval = local->hw.max_listen_interval; + local->hw.conf.dynamic_ps_forced_timeout = -1; + result = sta_info_start(local); if (result < 0) goto fail_sta_info; |