mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-07 04:00:30 +01:00
device: don't wait for carrier when activating static connection
When the connection to be activated doesn't require carrier, don't queue it to wait for it. https://bugzilla.redhat.com/show_bug.cgi?id=1079353 Fixes:0bfe635119(cherry picked from commit118de885ea)
This commit is contained in:
parent
971a7611bd
commit
be3aee8b32
1 changed files with 2 additions and 0 deletions
|
|
@ -6376,6 +6376,8 @@ _carrier_wait_check_act_request_must_queue (NMDevice *self, NMActRequest *req)
|
|||
return FALSE;
|
||||
|
||||
connection = nm_act_request_get_connection (req);
|
||||
if (!connection_requires_carrier (connection))
|
||||
return FALSE;
|
||||
|
||||
if (!nm_device_check_connection_available (self, connection, NM_DEVICE_CHECK_CON_AVAILABLE_ALL, NULL)) {
|
||||
/* We passed all @flags we have, and no @specific_object.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue