3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

netdev: fix bug setting OWE IE length

The length was being set to whatever the last nl80211 attribute was,
not the length for the RESP_IE iteration.
This commit is contained in:
James Prestwood 2022-02-03 09:24:18 -08:00 committed by Denis Kenzior
parent 8a5b3f6880
commit 672098118d

View File

@ -2830,7 +2830,7 @@ process_resp_ies:
continue;
owe_dh = data;
owe_dh_len = len;
owe_dh_len = ie_tlv_iter_get_length(&iter);
break;