Because QSocketNotifier doesn't seem to notify closed connections we
authorRoy Marples <roy@marples.name>
Tue, 2 Dec 2014 22:46:32 +0000 (22:46 +0000)
committerRoy Marples <roy@marples.name>
Tue, 2 Dec 2014 22:46:32 +0000 (22:46 +0000)
commit988f046eb78d45fa37aff1ae219fe4f06526758b
tree4a59e7b59fc7f178a5cd072c47f8c5ee72f2281f
parentc203c14f63add88a187db052ac09e0f4a6d53f4e
Because QSocketNotifier doesn't seem to notify closed connections we
need to PING wpa_supplicant to ensure it's alive.
Use deleteLater instead of delete to avoid any threading errors.
Re-work the DhcpcdWi API as we don't try to re-open on error.
src/dhcpcd-qt/dhcpcd-qt.cpp
src/dhcpcd-qt/dhcpcd-qt.h
src/dhcpcd-qt/dhcpcd-wi.cpp
src/dhcpcd-qt/dhcpcd-wi.h