mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-01 15:49:49 +01:00
netdev: set TK index to zero for FT
Since FT re-uses the handshake the active TK index may be set to a non-zero value.
This commit is contained in:
parent
3d736d4c20
commit
a205afe2de
@ -4405,6 +4405,7 @@ static void prepare_ft(struct netdev *netdev, const struct scan_bss *target_bss)
|
|||||||
target_bss->rsne);
|
target_bss->rsne);
|
||||||
memcpy(netdev->handshake->mde + 2, target_bss->mde, 3);
|
memcpy(netdev->handshake->mde + 2, target_bss->mde, 3);
|
||||||
|
|
||||||
|
netdev->handshake->active_tk_index = 0;
|
||||||
netdev->associated = false;
|
netdev->associated = false;
|
||||||
netdev->operational = false;
|
netdev->operational = false;
|
||||||
netdev->in_ft = true;
|
netdev->in_ft = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user