From cae49f0422c125f2005b51ca35183a1a806ecef7 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 31 May 2013 15:08:06 -0500 Subject: [PATCH] core: not all callers of hw_bring_up care about firmware --- src/devices/nm-device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 4509fe3bb..2b455c1f7 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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))