]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not skip MBO PMF check with the WPS special case WPA check exception
authorJouni Malinen <j@w1.fi>
Sat, 22 Feb 2020 17:07:11 +0000 (19:07 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Feb 2020 17:20:44 +0000 (19:20 +0200)
commit7b26238d460d1e2daaa8e5e5eaf0d1b64aaef6b4
tree29aa1407278eba5f661c5f46325769c41e929eda
parentfae7e64aa3ecf317d15beb799fcc6865a55b1bd3
Do not skip MBO PMF check with the WPS special case WPA check exception

The MBO PMF check for AP SME in the driver case was added into a
location that is skipped for WPS processing. That was not really the
correct place for this since the skip_wpa_check label was supposed to
remain immediately following the WPA checks. While this does not really
have much of a practical impact, move the check around so that the
skip_wpa_check label remains where it is supposed to be.

Fixes: 4c572281edaa ("MBO: Mandate use of PMF for WPA2+MBO association (AP)")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/drv_callbacks.c