summaryrefslogtreecommitdiff
path: root/net/wireless/ap.c
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@codeaurora.org>2013-11-23 11:05:56 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:16:48 -0700
commitbf6ab094caf74dfd85edcb8c2405739a74c543e0 (patch)
tree64b911a64144b14908cc74cad9ec15c24e5f2959 /net/wireless/ap.c
parent1bbf97af3a3923a9b74521fdcc96986875a03a83 (diff)
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 <akholaif@codeaurora.org>
Diffstat (limited to 'net/wireless/ap.c')
-rw-r--r--net/wireless/ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/ap.c b/net/wireless/ap.c
index bdad1f951561..cb1cfd34046d 100644
--- a/net/wireless/ap.c
+++ b/net/wireless/ap.c
@@ -6,8 +6,8 @@
#include "rdev-ops.h"
-int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev,
- struct net_device *dev, bool notify)
+static int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev,
+ struct net_device *dev, bool notify)
{
struct wireless_dev *wdev = dev->ieee80211_ptr;
int err;