]> 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)
commit8b6cfe27ce731480666c3b3af074badcec79e094
tree4586e4a684002f09b114ce476e7ea9a818535b64
parent0fad66ff49cd468d2cf8182d9a271c5df3dddaca
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