Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61411c6f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cfg80211: clear wep keys after disconnection"

parents 08530a3a d016c075
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1012,6 +1012,8 @@ void __cfg80211_disconnected(struct net_device *dev, const u8 *ie,
	wdev->current_bss = NULL;
	wdev->ssid_len = 0;
	wdev->conn_owner_nlportid = 0;
	kzfree(wdev->connect_keys);
	wdev->connect_keys = NULL;

	nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap);