summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2012-06-29 12:46:56 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-06-29 13:39:14 +0200
commit60771780c27cbc93d0b78da0c7fd7a8a540b029e (patch)
tree207f080b796060d269cb386a9613772c3bba74fd /net/wireless/core.h
parentb1fbd46976d047a6d6767872a9112afaa914fd82 (diff)
cfg80211: introduce cfg80211_stop_ap
This functionality will be reused when interface is going down. Avoids code duplication. Also adds missing wdev locking. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 609a579255a..fef476d2117 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -289,6 +289,10 @@ int cfg80211_set_mesh_freq(struct cfg80211_registered_device *rdev,
struct wireless_dev *wdev, int freq,
enum nl80211_channel_type channel_type);
+/* AP */
+int cfg80211_stop_ap(struct cfg80211_registered_device *rdev,
+ struct net_device *dev);
+
/* MLME */
int __cfg80211_mlme_auth(struct cfg80211_registered_device *rdev,
struct net_device *dev,