diff options
Diffstat (limited to 'src/core/devices/wifi')
| -rw-r--r-- | src/core/devices/wifi/nm-device-olpc-mesh.c | 2 | ||||
| -rw-r--r-- | src/core/devices/wifi/nm-device-wifi.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/devices/wifi/nm-device-olpc-mesh.c b/src/core/devices/wifi/nm-device-olpc-mesh.c index fd851ebc..4705f75c 100644 --- a/src/core/devices/wifi/nm-device-olpc-mesh.c +++ b/src/core/devices/wifi/nm-device-olpc-mesh.c @@ -198,7 +198,7 @@ act_stage2_config(NMDevice *device, NMDeviceStateReason *out_failure_reason) nm_device_get_ifindex(device), g_bytes_get_data(ssid, NULL), g_bytes_get_size(ssid)); - nm_device_bring_up(NM_DEVICE(self), TRUE, NULL); + nm_device_bring_up(NM_DEVICE(self)); if (!success) { _LOGW(LOGD_WIFI, "Unable to set the mesh ID"); return NM_ACT_STAGE_RETURN_FAILURE; diff --git a/src/core/devices/wifi/nm-device-wifi.c b/src/core/devices/wifi/nm-device-wifi.c index 43798b85..8af974d0 100644 --- a/src/core/devices/wifi/nm-device-wifi.c +++ b/src/core/devices/wifi/nm-device-wifi.c @@ -960,7 +960,7 @@ deactivate(NMDevice *device) != _NM_802_11_MODE_INFRA) { nm_device_take_down(NM_DEVICE(self), TRUE); nm_platform_wifi_set_mode(nm_device_get_platform(device), ifindex, _NM_802_11_MODE_INFRA); - nm_device_bring_up(NM_DEVICE(self), TRUE, NULL); + nm_device_bring_up(NM_DEVICE(self)); } if (priv->mode != _NM_802_11_MODE_INFRA) { @@ -3586,7 +3586,7 @@ set_enabled(NMDevice *device, gboolean enabled) if (state != NM_DEVICE_STATE_UNAVAILABLE) _LOGW(LOGD_CORE, "not in expected unavailable state!"); - if (!nm_device_bring_up(NM_DEVICE(self), TRUE, &no_firmware)) { + if (!nm_device_bring_up_full(NM_DEVICE(self), TRUE, TRUE, &no_firmware)) { _LOGD(LOGD_WIFI, "enable blocked by failure to bring device up"); if (no_firmware) |