]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Do not report PMF failure without BSS supporting PMF
authorJouni Malinen <j@w1.fi>
Sat, 14 Mar 2020 16:20:31 +0000 (18:20 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 14 Mar 2020 16:20:31 +0000 (18:20 +0200)
commita8d2ca9e23a6855fb6910de8491fc599e6f4bc48
treec742d5fe8535c14784de87b826ab9856ea39ccdf
parent80d41221599b9bcf21dddbd1573ea7e84ae0c913
wlantest: Do not report PMF failure without BSS supporting PMF

Previously, missing CCMP protection on Robust Management frames was
reported based on the STA having indicated MFPC=1. That is not accurate
since the AP/BSS may have MFPC=0. Report this failure only if both the
AP and STA have indicated MFPC=1, i.e., when PMF has been negotiated for
the association.

Signed-off-by: Jouni Malinen <j@w1.fi>
wlantest/rx_mgmt.c