]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb882ba88e778ccf7d71267e6c1a67b481656663
tree4586e4a684002f09b114ce476e7ea9a818535b64
parent6b82895c09847b157bd0385c730d8e85bcc9757f
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