diff --git a/src/ap.c b/src/ap.c index bfa9d47e..bebd7295 100644 --- a/src/ap.c +++ b/src/ap.c @@ -2412,7 +2412,7 @@ static int ap_load_profile_and_dhcp(struct ap_state *ap, bool *wait_dhcp) if (!ap->rtnl_add_cmd) { l_error("Failed to add IPv4 address"); - return false; + return -EIO; } ap->cleanup_ip = true;