mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-15 12:28:06 +02:00
device: don't emit recheck-assume if there is a queued activation request
If there is a queued activation request waiting (e.g. for carrier), we shouldn't generate a new connection. Fixes-test: dracut_NM_vlan_over_team_no_boot
This commit is contained in:
parent
e1a25592a2
commit
af32e2da4c
1 changed files with 1 additions and 1 deletions
|
|
@ -8960,7 +8960,7 @@ nm_device_emit_recheck_assume(gpointer user_data)
|
|||
priv = NM_DEVICE_GET_PRIVATE(self);
|
||||
|
||||
priv->recheck_assume_id = 0;
|
||||
if (!nm_device_get_act_request(self))
|
||||
if (!priv->queued_act_request && !nm_device_get_act_request(self))
|
||||
g_signal_emit(self, signals[RECHECK_ASSUME], 0);
|
||||
|
||||
return G_SOURCE_REMOVE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue