From 256810032c472505440606bd9c1c4f7dbf06b0a2 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 18 Oct 2017 03:44:27 +0000 Subject: Import wpa_supplicant/hostapd 2.6. --- src/common/wpa_ctrl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/wpa_ctrl.c') diff --git a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c index 5733aa605d18c..623c2a768e43d 100644 --- a/src/common/wpa_ctrl.c +++ b/src/common/wpa_ctrl.c @@ -532,6 +532,8 @@ retry_send: FD_ZERO(&rfds); FD_SET(ctrl->s, &rfds); res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); + if (res < 0 && errno == EINTR) + continue; if (res < 0) return res; if (FD_ISSET(ctrl->s, &rfds)) { -- cgit v1.2.3