mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 03:20:18 +01:00
libnm/secret-agent: fix reseting timeout when registration completes
Fixes: f0d3243f2b ('libnm/secret-agent: fix race registering secret agent')
This commit is contained in:
parent
85042e7244
commit
1f9dabcb73
1 changed files with 1 additions and 2 deletions
|
|
@ -702,8 +702,7 @@ _register_call_cb (GObject *proxy,
|
|||
}
|
||||
|
||||
done:
|
||||
priv->registering_timeout_msec = nm_utils_get_monotonic_timestamp_msec () + REGISTER_RETRY_TIMEOUT_MSEC;
|
||||
priv->registering_try_count = 0;
|
||||
priv->registering_timeout_msec = 0;
|
||||
|
||||
if (error) {
|
||||
_LOGT ("register: registration failed with error \"%s\"", error->message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue