mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 19:10:07 +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;
|
||||
|
||||
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. */
|
||||
if (result && device_has_capability (device, NM_DEVICE_CAP_CARRIER_DETECT))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue