]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow transmitting deauth with tainted key
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 10:41:38 +0000 (11:41 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Feb 2013 17:57:44 +0000 (18:57 +0100)
commit5640c91055208a08e247484109e21894f7e84dd7
tree19bbfcbb6dc5b867c4ee025793761b20a4989519
parent228d2bdc4c2c5fa4f214087b4de0dd9034723b83
mac80211: allow transmitting deauth with tainted key

When we had a connection for WoWLAN and after resume it
needed to be disconnected, the previous commit enabled
sending a deauth frame to the AP. This frame would not
go through on MFP-enabled networks as the key for it is
marked tainted before the frame is transmitted.

Allow a tainted key to be used for deauth frames. Worst
case, we'll use a wrong key because the PTK was rekeyed
while suspended, but more likely the PTK is still fine
and the taint flag really only applies to the GTK(s).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c