mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 03:10:48 +02:00
device: fix optional 802.1X authentication
If the authentication is optional, we are going to re-enter stage2. Set the "ready" variable so that we can return success immediately and skip to stage3.
This commit is contained in:
parent
de5e1eb9e5
commit
a319193333
1 changed files with 1 additions and 0 deletions
|
|
@ -479,6 +479,7 @@ wired_auth_cond_fail(NMDeviceEthernet *self, NMDeviceStateReason reason)
|
|||
|
||||
_LOGI(LOGD_DEVICE | LOGD_ETHER,
|
||||
"Activation: (ethernet) 802.1X authentication is optional, continuing after a failure");
|
||||
priv->supplicant.ready = TRUE;
|
||||
|
||||
if (NM_IN_SET(nm_device_get_state(device), NM_DEVICE_STATE_CONFIG, NM_DEVICE_STATE_NEED_AUTH))
|
||||
nm_device_activate_schedule_stage2_device_config(device, FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue