From bf6ab094caf74dfd85edcb8c2405739a74c543e0 Mon Sep 17 00:00:00 2001 From: Ahmad Kholaif Date: Sat, 23 Nov 2013 11:05:56 +0530 Subject: Revert "cfg80211: export interface stopping function" This reverts commit f04c22033c25f71617ac62bcfe75698baa17a0b8. The commit "cfg80211: export interface stopping function" exports a new cfg80211_stop_iface() function, intended for driver internal interface combination management and channel switching. The new function is used by commit "cfg80211/mac80211: disconnect on suspend" which is reverted in order to avoid the disconnection while going to suspend. Hence the commit "cfg80211: export interface stopping function" should be reverted. CRs-Fixed: 540571 Signed-off-by: Ahmad Kholaif --- include/net/cfg80211.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include/net') diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index e168c85054a0..1d67f3873e10 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5298,21 +5298,6 @@ int cfg80211_iter_combinations(struct wiphy *wiphy, void *data), void *data); -/* - * cfg80211_stop_iface - trigger interface disconnection - * - * @wiphy: the wiphy - * @wdev: wireless device - * @gfp: context flags - * - * Trigger interface to be stopped as if AP was stopped, IBSS/mesh left, STA - * disconnected. - * - * Note: This doesn't need any locks and is asynchronous. - */ -void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev, - gfp_t gfp); - /** * cfg80211_shutdown_all_interfaces - shut down all interfaces for a wiphy * @wiphy: the wiphy to shut down -- cgit v1.2.3