mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
netdev: Make sure we send SET_STATION after FT
Make sure that we set the AUTHORIZED sta flag after an FT in
netdev_set_pairwise_key_cb, I broke this in
a03839f8ef
.
This commit is contained in:
parent
69b852126d
commit
fb8063f37f
@ -1133,9 +1133,11 @@ static void netdev_set_pairwise_key_cb(struct l_genl_msg *msg, void *data)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (netdev->operational)
|
/*
|
||||||
return;
|
* Set the AUTHORIZED flag using a SET_STATION command even if
|
||||||
|
* we're already operational, it will not hurt during re-keying
|
||||||
|
* and is necessary after an FT.
|
||||||
|
*/
|
||||||
msg = netdev_build_cmd_set_station(netdev);
|
msg = netdev_build_cmd_set_station(netdev);
|
||||||
|
|
||||||
netdev->set_station_cmd_id =
|
netdev->set_station_cmd_id =
|
||||||
|
Loading…
Reference in New Issue
Block a user