Make global UNIX socket non-blocking for ctrl_iface
authorJouni Malinen <j@w1.fi>
Sat, 24 Aug 2013 17:31:04 +0000 (20:31 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 24 Aug 2013 17:31:04 +0000 (20:31 +0300)
commit8d6e0350726ea193711d189d6fbf7022a9e4b189
tree707648ed73bfabc3945b19705b038e9ea20ce777
parent3ed2814a1e6e3379c781e8fdd1a3fc7006ec6cf0
Make global UNIX socket non-blocking for ctrl_iface

This keeps wpa_supplicant from hanging forever if the other end of the
socket dies. This is similar to the earlier commit
4fdc8def8855ce9b90ffbbdc47152ce46ccdcb1e to make the global control
interface befave in the same way.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface_unix.c