]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Work around an interop connection issue in FT-PSK + WPA-PSK
authorJanusz Dziedzic <janusz@plumewifi.com>
Mon, 5 Mar 2018 14:37:10 +0000 (15:37 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 6 Jan 2019 19:10:08 +0000 (21:10 +0200)
commitbb35e2d214cdf02c08be5557ba0bcc91246a485d
tree9ff7dcf38642796b8a0c9ed18d3f7589eda4b46f
parent2e71d0415bf37cf829ff438d85b6ce602ba670ce
hostapd: Work around an interop connection issue in FT-PSK + WPA-PSK

While the AP is configured to enable both FT-PSK and WPA-PSK, an HP
printer request both AKMs (copied from AP?) in Association Request
frame, but don't add MDIE and don't use FT. This results in the
connection failing.

Next in logs we see:

RSN: Trying to use FT, but MDIE not included
IE - hexdump(len=26): 30 18 01 00 00 0f ac 04 01 00 00 0f ac 04
                      02 00 00 0f ac 02 00 0f ac 04 00 00

This is seen with some HP and Epson printers. Work around this by
stripping FT AKM(s) when MDE is not present and there is still a non-FT
AKM available.

Signed-off-by: Janusz Dziedzic <janusz@plumewifi.com>
src/ap/wpa_auth_ie.c
src/common/defs.h