mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 18:00:18 +01:00
device: let macsec connection fail on supplicant timeout if no secrets are required
Like for ethernet.
This commit is contained in:
parent
7dab990eb2
commit
d5ee549e07
1 changed files with 3 additions and 1 deletions
|
|
@ -494,8 +494,10 @@ handle_auth_or_fail (NMDeviceMacsec *self,
|
|||
macsec_secrets_get_secrets (self, setting_name,
|
||||
NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION
|
||||
| (new_secrets ? NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW : 0));
|
||||
} else
|
||||
} else {
|
||||
_LOGI (LOGD_DEVICE, "Cleared secrets, but setting didn't need any secrets.");
|
||||
return NM_ACT_STAGE_RETURN_FAILURE;
|
||||
}
|
||||
|
||||
return NM_ACT_STAGE_RETURN_POSTPONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue