hostap/wpa_supplicant/dbus
Daniel Gnoutcheff d7692b8d1c dbus: Terminate cleanly on messagebus shutdown
By default, dbus_connection_dispatch() will call _exit() if the bus
connection has been closed. This caused wpa_supplicant to terminate
without properly cleaning up after itself.

To ensure that we terminate cleanly when the messagebus terminates,
override the exit_on_disconnect behavior and install a filter to handle
libdbus's "Disconnected" signal.

[Bug 474]

Signed-hostap: Daniel Gnoutcheff <daniel@gnoutcheff.name>
2013-05-16 20:47:28 +03:00
..
.gitignore
dbus-wpa_supplicant.conf
dbus_common.c dbus: Terminate cleanly on messagebus shutdown 2013-05-16 20:47:28 +03:00
dbus_common.h
dbus_common_i.h
dbus_dict_helpers.c
dbus_dict_helpers.h
dbus_new.c
dbus_new.h
dbus_new_handlers.c
dbus_new_handlers.h
dbus_new_handlers_p2p.c
dbus_new_handlers_p2p.h
dbus_new_handlers_wps.c
dbus_new_helpers.c
dbus_new_helpers.h
dbus_new_introspect.c
dbus_old.c
dbus_old.h
dbus_old_handlers.c
dbus_old_handlers.h
dbus_old_handlers_wps.c
fi.epitest.hostap.WPASupplicant.service.in
fi.w1.wpa_supplicant1.service.in
Makefile