Add code to re-use an existing ctrl_iface socket file
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 6 May 2009 08:31:45 +0000 (11:31 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 6 May 2009 08:31:45 +0000 (11:31 +0300)
commit617d1555479aecf3bf13e35202a46c63e8d19052
tree2e331b6687b0bf070a32dcda9beb5d913922bcd1
parent826fff182f36fa58418d1c796d6a7c6307b12a14
Add code to re-use an existing ctrl_iface socket file

Port the code from wpa_supplicant to re-use an existing ctrl_iface
socket file if the file does not seem to be in use. This allows
hostapd to recover from unclean shutdown of the control interface.
hostapd/ctrl_iface.c