diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-10-14 19:02:43 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-10-14 19:04:08 +0300 |
commit | 4a733ef1bea705cdc69d936b95fedab4b47fbd40 (patch) | |
tree | 8e16628865b0f7a35b81615f7c9d4430bf309c5b /drivers/net/wireless/rt2x00 | |
parent | 61f6bba006d4e643fdff62c3d7fd4ea6ca4f468d (diff) | |
download | linux-4a733ef1bea705cdc69d936b95fedab4b47fbd40.tar.xz |
mac80211: remove PM-QoS listener
As this API has never really seen any use and most drivers don't
ever use the value derived from it, remove it.
Change the only driver using it (rt2x00) to simply use the DTIM
period instead of the "max sleep" time.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index 48a2cad29477..7e8bb1198ae9 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c @@ -266,7 +266,7 @@ void rt2x00lib_config(struct rt2x00_dev *rt2x00dev, if (beacon_diff > beacon_int) beacon_diff = 0; - autowake_timeout = (conf->max_sleep_period * beacon_int) - beacon_diff; + autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff; queue_delayed_work(rt2x00dev->workqueue, &rt2x00dev->autowakeup_work, autowake_timeout - 15); |