3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 11:52:34 +01:00

netdev: Avoid calling netdev_connect_ok twice in FT

handshake_state_install_ptk triggers a call to
netdev_set_pairwise_key_cb which calls netdev_connect_ok, so don't call
netdev_connect_ok after handshake_state_install_ptk.  This doesn't fix
any specific problem though.
This commit is contained in:
Andrew Zaborowski 2018-02-26 13:27:35 +01:00 committed by Denis Kenzior
parent 2dd84f0114
commit d2247c3a3f

View File

@ -1634,8 +1634,10 @@ static void netdev_connect_event(struct l_genl_msg *msg,
netdev->in_ft = false;
if (is_rsn)
if (is_rsn) {
handshake_state_install_ptk(netdev->handshake);
return;
}
}
netdev_connect_ok(netdev);