aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-06-04 12:16:54 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-05 16:29:53 (GMT)
commit9a33737a0ba5be9d860e70d84f37bc16d192a16d (patch)
tree659a3d587d2af579e3d6048e773bb628847bf453 /wlantest
parent8c2715b358241fb6804757b181bde5b522e27356 (diff)
downloadhostap-9a33737a0ba5be9d860e70d84f37bc16d192a16d.zip
hostap-9a33737a0ba5be9d860e70d84f37bc16d192a16d.tar.gz
hostap-9a33737a0ba5be9d860e70d84f37bc16d192a16d.tar.bz2
FT: FTE parsing for SHA384-based AKM
The MIC field is now a variable length field, so make the FTE parser aware of the two different field lengths. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/rx_mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wlantest/rx_mgmt.c b/wlantest/rx_mgmt.c
index 08ebd88..95ff258 100644
--- a/wlantest/rx_mgmt.c
+++ b/wlantest/rx_mgmt.c
@@ -656,7 +656,7 @@ static void rx_mgmt_assoc_resp(struct wlantest *wt, const u8 *data, size_t len)
sta->state = STATE3;
}
- if (wpa_ft_parse_ies(ies, ies_len, &parse) == 0) {
+ if (wpa_ft_parse_ies(ies, ies_len, &parse, 0) == 0) {
if (parse.r0kh_id) {
os_memcpy(bss->r0kh_id, parse.r0kh_id,
parse.r0kh_id_len);