From dd02c5acafe50c66d2ef3265d0aa796afba4d4f3 Mon Sep 17 00:00:00 2001 From: Niraj Kumar Goit Date: Wed, 26 Jun 2019 13:32:17 +0530 Subject: [PATCH] Append disconnect reason code in case of invalid key. Change-Id: Ie95d9be974d685f0601b2a6592c5f2d45e88fdd7 Signed-off-by: Niraj Kumar Goit --- src/service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service.c b/src/service.c index d1ada48..1b2ed23 100644 --- a/src/service.c +++ b/src/service.c @@ -3489,6 +3489,7 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited, connman_dbus_dict_append_dict(dict, "Ethernet", append_ethernet, service); + service->disconnect_reason = connman_network_get_disconnect_reason(service->network); connman_dbus_dict_append_basic(dict, "DisconnectReason", DBUS_TYPE_INT32, &service->disconnect_reason); -- 2.7.4