aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r--net/wireless/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index afcb9ec70adb..ee422871fe9e 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -755,8 +755,8 @@ void cfg80211_leave(struct cfg80211_registered_device *rdev,
755 wdev->wext.ie_len = 0; 755 wdev->wext.ie_len = 0;
756 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; 756 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC;
757#endif 757#endif
758 __cfg80211_disconnect(rdev, dev, 758 cfg80211_disconnect(rdev, dev,
759 WLAN_REASON_DEAUTH_LEAVING, true); 759 WLAN_REASON_DEAUTH_LEAVING, true);
760 wdev_unlock(wdev); 760 wdev_unlock(wdev);
761 break; 761 break;
762 case NL80211_IFTYPE_MESH_POINT: 762 case NL80211_IFTYPE_MESH_POINT: