mac80211: Fix robust management frame handling (MFP)
authorJouni Malinen <j@w1.fi>
Mon, 29 Mar 2010 05:29:52 +0000 (22:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:10:38 +0000 (11:10 -0700)
commitea85171617b466c677bfa9e67fc1e526b65d4bea
tree31a87958c1cd129b4d2308e818d24172c15bdbff
parent7e2b79273b6d672b6c7851a7dcbebdcfdaad5762
mac80211: Fix robust management frame handling (MFP)

commit d211e90e28a074447584729018a39910d691d1a8 upstream.

Commit e34e09401ee9888dd662b2fca5d607794a56daf2 incorrectly removed
use of ieee80211_has_protected() from the management frame case and in
practice, made this validation drop all Action frames when MFP is
enabled. This should have only been done for frames with Protected
field set to zero.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/rx.c