mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-18 18:29:29 +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:
parent
2dd84f0114
commit
d2247c3a3f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user