Make UNIX socket non-blocking for ctrl_iface
authorBen Greear <greearb@candelatech.com>
Sat, 4 Aug 2012 17:34:27 +0000 (20:34 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Aug 2012 17:34:27 +0000 (20:34 +0300)
commit4fdc8def8855ce9b90ffbbdc47152ce46ccdcb1e
tree5fc838620fe28f9a3b673d17d78bc6a050759fd5
parentc8b245b6a413c427e94486221489eebaad719739
Make UNIX socket non-blocking for ctrl_iface

This keeps wpa_cli from hanging forever if the other end of the socket
dies.

Signed-hostap: Ben Greear <greearb@candelatech.com>
src/common/wpa_ctrl.c
wpa_supplicant/ctrl_iface_unix.c