mac80211: Fix robust management frame handling (MFP)
authorJouni Malinen <j@w1.fi>
Mon, 29 Mar 2010 05:29:52 +0000 (22:29 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 20:49:33 +0000 (16:49 -0400)
commitd211e90e28a074447584729018a39910d691d1a8
treee9fb1b7d3265449fdc58783a573f337bcce26500
parenta124f3bed79d5fd5f87b09a7569ae6b7da4171d2
mac80211: Fix robust management frame handling (MFP)

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>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c