summaryrefslogtreecommitdiffstats
path: root/net/mac80211/offchannel.c
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-12-30 12:19:01 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-01-04 20:31:47 +0100
commit67f61261b6df33a9aee8a6e014b4aef661f1a532 (patch)
tree66ecd468a7cb5cb067fa3f9cae4a14cfc5305e9e /net/mac80211/offchannel.c
parentmwl8k: Recover from firmware crash (diff)
downloadlinux-67f61261b6df33a9aee8a6e014b4aef661f1a532.tar.xz
linux-67f61261b6df33a9aee8a6e014b4aef661f1a532.zip
mac80211: remove dead code
ieee80211_offchannel_enable_all_ps function is no longer used and looks like its logic is extensively handled in ieee80211_offchannel_stop_vifs Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/offchannel.c')
-rw-r--r--net/mac80211/offchannel.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c
index 2948f8e2e675..f054e94901a2 100644
--- a/net/mac80211/offchannel.c
+++ b/net/mac80211/offchannel.c
@@ -138,23 +138,6 @@ void ieee80211_offchannel_stop_vifs(struct ieee80211_local *local,
mutex_unlock(&local->iflist_mtx);
}
-void ieee80211_offchannel_enable_all_ps(struct ieee80211_local *local,
- bool tell_ap)
-{
- struct ieee80211_sub_if_data *sdata;
-
- mutex_lock(&local->iflist_mtx);
- list_for_each_entry(sdata, &local->interfaces, list) {
- if (!ieee80211_sdata_running(sdata))
- continue;
-
- if (sdata->vif.type == NL80211_IFTYPE_STATION &&
- sdata->u.mgd.associated)
- ieee80211_offchannel_ps_enable(sdata, tell_ap);
- }
- mutex_unlock(&local->iflist_mtx);
-}
-
void ieee80211_offchannel_return(struct ieee80211_local *local,
bool offchannel_ps_disable)
{