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
1 changed files with 1 additions and 1 deletions

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;