]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Use separate flag for 4-way handshake offload
authorArend van Spriel <arend.vanspriel@broadcom.com>
Mon, 1 Jul 2019 22:13:49 +0000 (00:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 1 Aug 2019 12:52:48 +0000 (15:52 +0300)
commitcb28bd52e1f0300c128d96cc57127c1319100a24
tree2d777d21b12d2551e48da1736e4f321cccf4d333
parentac069a31ded8758ed1d5d09c6ecb534970896ba9
nl80211: Use separate flag for 4-way handshake offload

Commit d896874f8689 ("nl80211: Indicate 802.1X 4-way handshake offload
in connect") used the req_key_mgmt_offload flag to indicate to the
driver that it should offload the 802.1X handshake. However, this field
was existing and used for a different offload API. This causes
wpa_supplicant to send a connect request without the WANT_1X_HS flag and
the subsequent set-pmk is rejected causing the connection to fail. Fix
that by introducing a new flag req_handshake_offload so the offloads are
no longer entangled.

Fixes: d896874f8689 ("nl80211: Indicate 802.1X 4-way handshake offload in connect")
Reported-by: Stefan Wahren <wahrenst@gmx.net>
Tested-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/wpa_supplicant.c