summaryrefslogtreecommitdiff
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-10-14 16:02:43 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2015-10-14 16:04:08 (GMT)
commit4a733ef1bea705cdc69d936b95fedab4b47fbd40 (patch)
tree8e16628865b0f7a35b81615f7c9d4430bf309c5b /net/mac80211/util.c
parent61f6bba006d4e643fdff62c3d7fd4ea6ca4f468d (diff)
downloadlinux-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 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 8f0fa35..8274c86 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1951,7 +1951,7 @@ int ieee80211_reconfig(struct ieee80211_local *local)
}
}
- ieee80211_recalc_ps(local, -1);
+ ieee80211_recalc_ps(local);
/*
* The sta might be in psm against the ap (e.g. because