summaryrefslogtreecommitdiff
path: root/net/wireless/ap.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2018-03-26 12:52:47 -0500
committerJohannes Berg <johannes.berg@intel.com>2018-03-29 10:47:28 +0200
commit466a306142c002b40deaa58da94741af4153d1c4 (patch)
tree886ee98c98f80307cf3e497a2bba67f48af7fadd /net/wireless/ap.c
parent188c1b3c04d69e842122daf201f07a34fcfad039 (diff)
downloadlinux-rpi-466a306142c002b40deaa58da94741af4153d1c4.tar.gz
linux-rpi-466a306142c002b40deaa58da94741af4153d1c4.tar.bz2
linux-rpi-466a306142c002b40deaa58da94741af4153d1c4.zip
nl80211: Add SOCKET_OWNER support to START_AP
Signed-off-by: Denis Kenzior <denkenz@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/ap.c')
-rw-r--r--net/wireless/ap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/ap.c b/net/wireless/ap.c
index 63682176c96c..882d97bdc6bf 100644
--- a/net/wireless/ap.c
+++ b/net/wireless/ap.c
@@ -27,6 +27,7 @@ int __cfg80211_stop_ap(struct cfg80211_registered_device *rdev,
err = rdev_stop_ap(rdev, dev);
if (!err) {
+ wdev->conn_owner_nlportid = 0;
wdev->beacon_interval = 0;
memset(&wdev->chandef, 0, sizeof(wdev->chandef));
wdev->ssid_len = 0;