diff options
Diffstat (limited to 'net/mac80211/offchannel.c')
-rw-r--r-- | net/mac80211/offchannel.c | 17 |
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, | |||
138 | mutex_unlock(&local->iflist_mtx); | 138 | mutex_unlock(&local->iflist_mtx); |
139 | } | 139 | } |
140 | 140 | ||
141 | void ieee80211_offchannel_enable_all_ps(struct ieee80211_local *local, | ||
142 | bool tell_ap) | ||
143 | { | ||
144 | struct ieee80211_sub_if_data *sdata; | ||
145 | |||
146 | mutex_lock(&local->iflist_mtx); | ||
147 | list_for_each_entry(sdata, &local->interfaces, list) { | ||
148 | if (!ieee80211_sdata_running(sdata)) | ||
149 | continue; | ||
150 | |||
151 | if (sdata->vif.type == NL80211_IFTYPE_STATION && | ||
152 | sdata->u.mgd.associated) | ||
153 | ieee80211_offchannel_ps_enable(sdata, tell_ap); | ||
154 | } | ||
155 | mutex_unlock(&local->iflist_mtx); | ||
156 | } | ||
157 | |||
158 | void ieee80211_offchannel_return(struct ieee80211_local *local, | 141 | void ieee80211_offchannel_return(struct ieee80211_local *local, |
159 | bool offchannel_ps_disable) | 142 | bool offchannel_ps_disable) |
160 | { | 143 | { |