cfg80211: clear wep keys after disconnection
authorAvraham Stern <avraham.stern@intel.com>
Mon, 19 Feb 2018 12:48:38 +0000 (14:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Feb 2018 13:53:12 +0000 (14:53 +0100)
commit3027a8e799b20fc922496a12f8ad2f9f36a8a696
tree4586e4a684002f09b114ce476e7ea9a818535b64
parent95f3ce6a77893ac828ba841df44421620de4314b
cfg80211: clear wep keys after disconnection

When a low level driver calls cfg80211_disconnected(), wep keys are
not cleared. As a result, following connection requests will fail
since cfg80211 internal state shows a connection is still in progress.

Fix this by clearing the wep keys when disconnecting.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c