diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-01-19 16:52:00 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:51 -0500 |
commit | e0463f501fb945c1fde536d98eefc5ba156ff497 (patch) | |
tree | a4b7fb8a0ce07ab01e1efd408d21eea280827e96 /net/wireless/sysfs.c | |
parent | 6cd0b1cb872b3bf9fc5de4536404206ab74bafdd (diff) | |
download | linux-e0463f501fb945c1fde536d98eefc5ba156ff497.tar.gz linux-e0463f501fb945c1fde536d98eefc5ba156ff497.tar.bz2 linux-e0463f501fb945c1fde536d98eefc5ba156ff497.zip |
mac80211: Fix drop-unencrypted for management frames
ADDBA request Action frame was sent out before 4-way handshake was
completed and the initial 802.11w code ended up dropping the frame
even if MFP was not enabled. While the sending of Action frames this
early is not really a good idea (will break with MFP enabled), we
should not break this for the MFP disabled case.
This patch fixes ieee80211_tx_h_select_key() not to drop management
frames if MFP is disabled. If MFP is enabled, Action frames will be
dropped before keys are set per IEEE 802.11w/D7.0. Other robust
management frames (i.e., Deauthentication and Disassociation frames)
are allowed unprotected prior to key configuration.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/sysfs.c')
0 files changed, 0 insertions, 0 deletions