3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +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:
Andrew Zaborowski 2018-01-15 14:31:22 +01:00 committed by Denis Kenzior
parent 69b852126d
commit fb8063f37f

View File

@ -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 =