core: not all callers of hw_bring_up care about firmware

This commit is contained in:
Dan Williams
2013-05-31 15:08:06 -05:00
parent e8ee5bdb0b
commit cae49f0422

View File

@@ -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))