]> git.ipfire.org Git - thirdparty/hostap.git/commit
Check for FT support when selecting FT suites
authorMatthew Wang <matthewmwang@chromium.org>
Tue, 4 Feb 2020 01:12:05 +0000 (17:12 -0800)
committerJouni Malinen <jouni@codeaurora.org>
Mon, 10 Feb 2020 04:43:38 +0000 (06:43 +0200)
commit23dc196fde951b3d508f367a603cddffbd053490
treee6a004836746088dcd08ffd400cf9fb8250a4029
parent85f3ab758ee2357f695f4880d05e48c1236a4cea
Check for FT support when selecting FT suites

A driver supports FT if it either supports SME or the
NL80211_CMD_UPDATE_FT_IES command. When selecting AKM suites,
wpa_supplicant currently doesn't take into account whether or not either
of those conditions are met. This can cause association failures, e.g.,
when an AP supports both WPA-EAP and FT-EAP but the driver doesn't
support FT (wpa_supplicant will decide to do FT-EAP since it is unaware
the driver doesn't support it). This change allows an FT suite to be
selected only when the driver also supports FT.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
src/drivers/driver.h
src/drivers/driver_nl80211_capa.c
wpa_supplicant/wpa_supplicant.c