mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
netdev: fix auth protocols not setting ->connected
This causes netdev to think another supplicant is running when it recieves a connect event due to an auth protocol running.
This commit is contained in:
parent
24235a2af8
commit
85fd9f50f7
@ -2413,7 +2413,9 @@ static int netdev_connect_common(struct netdev *netdev,
|
||||
NL80211_EXT_FEATURE_CAN_REPLACE_PTK0))
|
||||
handshake_state_set_no_rekey(hs, true);
|
||||
|
||||
auth_proto_start(netdev->ap);
|
||||
/* set connected since the auth protocols cannot do so internally */
|
||||
if (netdev->ap && auth_proto_start(netdev->ap))
|
||||
netdev->connected = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user