Hi Saurav,

+       } else if (g_strcmp0(key, "DisconnectReason") == 0) {
+               int reason = 0;
+
+               dbus_message_iter_get_basic(iter, &reason);
+               SUPPLICANT_DBG("Disconnect Reason %d", reason);
+               interface->disconnect_reason = reason;

If it's only for debugging reason, one will take a look at wpa_supplicant's log actually.

This has not been used in ConnMan because it does not need it.

Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to