D-Bus: Fix property change timer update

eloop_is_timeout_registered() was called with incorrect context argument
which meant that the pending timeout would have never been found.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-12-31 23:20:01 +02:00
parent 3a593ff5b2
commit 7fbe56b018
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ void wpa_dbus_mark_property_changed(struct wpas_dbus_priv *iface,
}
if (!eloop_is_timeout_registered(flush_object_timeout_handler,
iface->con, obj_desc->path)) {
iface->con, obj_desc)) {
eloop_register_timeout(0, WPA_DBUS_SEND_PROP_CHANGED_TIMEOUT,
flush_object_timeout_handler,
iface->con, obj_desc);