diff options
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r-- | net/wireless/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index 57b3ce7a6b92..dadc934d987f 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c | |||
@@ -886,7 +886,7 @@ int cfg80211_change_iface(struct cfg80211_registered_device *rdev, | |||
886 | 886 | ||
887 | switch (otype) { | 887 | switch (otype) { |
888 | case NL80211_IFTYPE_AP: | 888 | case NL80211_IFTYPE_AP: |
889 | cfg80211_stop_ap(rdev, dev); | 889 | cfg80211_stop_ap(rdev, dev, true); |
890 | break; | 890 | break; |
891 | case NL80211_IFTYPE_ADHOC: | 891 | case NL80211_IFTYPE_ADHOC: |
892 | cfg80211_leave_ibss(rdev, dev, false); | 892 | cfg80211_leave_ibss(rdev, dev, false); |