]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Protect Deauthentication frame when using MFP
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 14 Jun 2010 18:55:56 +0000 (11:55 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:00:48 +0000 (16:00 -0400)
commit3b99de1cf5d6ee2b0dde61236314b7de44fc5a59
tree17511ed4294b800c1dceaa2b30b016c0e4c782b2
parent9aa350e429a34eab62a52e4b1ce309ff9ab5a084
mac80211: Protect Deauthentication frame when using MFP

When management frame protection (IEEE 802.11w) is used,
Deauthentication frame needs to be protected when the pairwise key is
configured. mac80211 was removing the station entry (and its keys)
before actually sending out the Deauthentication frame. Fix this by
reordering the code to send the frame before the station entry gets
removed. This matches an earlier change that handled the Disassociation
frame processing, but missed Deauthentication frames.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c