diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-04-09 15:11:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-06 15:16:34 +0200 |
commit | f04c22033c25f71617ac62bcfe75698baa17a0b8 (patch) | |
tree | 468527116aa880a43f476dc020754b9b6c64982e /net/wireless/ap.c | |
parent | mac80211: split CSA finalize function (diff) | |
download | linux-f04c22033c25f71617ac62bcfe75698baa17a0b8.tar.xz linux-f04c22033c25f71617ac62bcfe75698baa17a0b8.zip |
cfg80211: export interface stopping function
This exports a new cfg80211_stop_iface() function.
This is intended for driver internal interface
combination management and channel switching.
Due to locking issues (it re-enters driver) the
call is asynchronous and uses cfg80211 event
list/worker.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/ap.c')
-rw-r--r-- | net/wireless/ap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/ap.c b/net/wireless/ap.c index 3e02ade508d8..bdad1f951561 100644 --- a/net/wireless/ap.c +++ b/net/wireless/ap.c @@ -6,8 +6,8 @@ #include "rdev-ops.h" -static int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev, - struct net_device *dev, bool notify) +int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev, + struct net_device *dev, bool notify) { struct wireless_dev *wdev = dev->ieee80211_ptr; int err; |