diff --git a/netutils/dhcpc/dhcpc.c b/netutils/dhcpc/dhcpc.c index 3ec6c4af6..43c2edc48 100644 --- a/netutils/dhcpc/dhcpc.c +++ b/netutils/dhcpc/dhcpc.c @@ -765,7 +765,7 @@ int dhcpc_request(FAR void *handle, FAR struct dhcpc_state *presult) * of time). Then loop and send the DISCOVER command again. */ - else if (errno != EAGAIN) + else if (errno != EAGAIN && errno != EINTR) { /* An error other than a timeout was received -- error out */ @@ -865,7 +865,7 @@ int dhcpc_request(FAR void *handle, FAR struct dhcpc_state *presult) * (at most 3 times). */ - else if (errno != EAGAIN) + else if (errno != EAGAIN && errno != EINTR) { /* An error other than a timeout was received */