mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
eapol: fix incorrect increment appending OCI
This was addign an extra byte to the buffer which hostapd accepted unless there was additional data, like the RSNXE.
This commit is contained in:
parent
e6aaceeb4b
commit
08936c1534
@ -1256,7 +1256,7 @@ static void eapol_handle_ptk_1_of_4(struct eapol_sm *sm,
|
||||
ies[ies_len++] = 4 + 3;
|
||||
l_put_be32(HANDSHAKE_KDE_OCI, ies + ies_len);
|
||||
ies_len += 4;
|
||||
oci_from_chandef(sm->handshake->chandef, ies + ies_len++);
|
||||
oci_from_chandef(sm->handshake->chandef, ies + ies_len);
|
||||
ies_len += 3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user