mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Stop ctrl_iface monitor send loop on reinit failure
There is no point trying to continue sending messages with sendmsg() if socket reinitialization fails. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a2a535f897
commit
29179b881e
@ -724,6 +724,7 @@ static void wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s,
|
|||||||
if (sock < 0) {
|
if (sock < 0) {
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
"Failed to reinitialize ctrl_iface socket");
|
"Failed to reinitialize ctrl_iface socket");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user