From 5979972e20d167a2ebef69f09f5680efacc00d52 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 28 Feb 2020 12:03:07 +0100 Subject: [PATCH] device/wifi: don't postpone act_stage2_config() for iwd when nothing to wait --- src/devices/wifi/nm-device-iwd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devices/wifi/nm-device-iwd.c b/src/devices/wifi/nm-device-iwd.c index 3799d37974..49fe07fb08 100644 --- a/src/devices/wifi/nm-device-iwd.c +++ b/src/devices/wifi/nm-device-iwd.c @@ -1853,7 +1853,10 @@ act_stage2_config (NMDevice *device, NMDeviceStateReason *out_failure_reason) return NM_ACT_STAGE_RETURN_POSTPONE; } - return NM_ACT_STAGE_RETURN_POSTPONE; + _LOGW (LOGD_DEVICE | LOGD_WIFI, + "Activation: (wifi) iwd cannot handle mode %s", + mode); + NM_SET_OUT (out_failure_reason, NM_DEVICE_STATE_REASON_SUPPLICANT_FAILED); out_fail: cleanup_association_attempt (self, FALSE);