dbus_message_unref(message);
}
-static void check_networks(struct connman_device *device,
- DBusMessageIter *array)
+static void check_networks(DBusMessageIter *array)
{
DBusMessageIter value;
dbus_message_iter_get_basic(&value, &val);
connman_device_set_scanning(device, val);
} else if (g_str_equal(key, "Devices") == TRUE) {
- check_networks(device, &value);
+ check_networks(&value);
}
return TRUE;
connman_device_set_scanning(device, scanning);
if (powered == TRUE)
- check_networks(device, &networks);
+ check_networks(&networks);
else
remove_device_networks(device);