Hi,
static void interface_network_removed(DBusMessageIter *iter, void *user_data)
{
- GSupplicantInterface *interface = user_data;
- GSupplicantNetwork *network;
- const char *path = NULL;
-
- dbus_message_iter_get_basic(iter, path);
- if (!path)
- return;
-
- network = g_hash_table_lookup(interface-net_mapping, path);
- if (!network)
- return;
-
- g_hash_table_remove(interface-net_mapping, path);
+ /* Function can be removed? */
Keep the function, for debug. So remove this comment.
+ SUPPLICANT_DBG();
+ return;
}
Rest is fine.
Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman