disconnect_reason can have negative values, so we should use
DBUS_TYPE_INT32 instead of DBUS_TYPE_UINT32 to pack.
Change-Id: Ia4cc303741461da5b8d42493779b8623a0482a33
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
append_ethernet, service);
connman_dbus_dict_append_basic(dict, "DisconnectReason",
append_ethernet, service);
connman_dbus_dict_append_basic(dict, "DisconnectReason",
- DBUS_TYPE_UINT32, &service->disconnect_reason);
+ DBUS_TYPE_INT32, &service->disconnect_reason);