summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-02-28 12:03:07 +0100
committerThomas Haller <thaller@redhat.com>2020-03-17 08:13:22 +0100
commit5979972e20d167a2ebef69f09f5680efacc00d52 (patch)
tree6abc2f4404ef7f685c5af5e771f3ece60001b5a2
parentaa991916dcc280c8ff16584db57ff49639e30596 (diff)
downloadNetworkManager-5979972e20d167a2ebef69f09f5680efacc00d52.tar.gz
device/wifi: don't postpone act_stage2_config() for iwd when nothing to wait
-rw-r--r--src/devices/wifi/nm-device-iwd.c5
1 files changed, 4 insertions, 1 deletions
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);