mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 22:40:06 +01:00
core: not all callers of hw_bring_up care about firmware
This commit is contained in:
parent
e8ee5bdb0b
commit
cae49f0422
1 changed files with 2 additions and 1 deletions
|
|
@ -4476,7 +4476,8 @@ hw_bring_up (NMDevice *device, gboolean *no_firmware)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
result = nm_platform_link_set_up (ifindex);
|
result = nm_platform_link_set_up (ifindex);
|
||||||
*no_firmware = nm_platform_get_error () == NM_PLATFORM_ERROR_NO_FIRMWARE;
|
if (no_firmware)
|
||||||
|
*no_firmware = nm_platform_get_error () == NM_PLATFORM_ERROR_NO_FIRMWARE;
|
||||||
|
|
||||||
/* Store carrier immediately. */
|
/* Store carrier immediately. */
|
||||||
if (result && device_has_capability (device, NM_DEVICE_CAP_CARRIER_DETECT))
|
if (result && device_has_capability (device, NM_DEVICE_CAP_CARRIER_DETECT))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue