projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a535f
)
Stop ctrl_iface monitor send loop on reinit failure
author
Jouni Malinen
<j@w1.fi>
Sat, 26 Oct 2013 10:18:40 +0000
(13:18 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 26 Oct 2013 12:55:59 +0000
(15:55 +0300)
There is no point trying to continue sending messages with sendmsg() if
socket reinitialization fails.
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface_unix.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ctrl_iface_unix.c
b/wpa_supplicant/ctrl_iface_unix.c
index
5fe9a4e
..
7135d06
100644
(file)
--- a/
wpa_supplicant/ctrl_iface_unix.c
+++ b/
wpa_supplicant/ctrl_iface_unix.c
@@
-724,6
+724,7
@@
static void wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s,
if (sock < 0) {
wpa_dbg(wpa_s, MSG_DEBUG,
"Failed to reinitialize ctrl_iface socket");
+ break;
}
}
}