index = connman_inet_ifindex(interface);
connman_network_set_index(network, index);
+
+ connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
+
connman_network_set_connected(network, TRUE);
done:
connman_network_set_group(network, "cable");
+ connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
+
connman_network_set_connected(network, TRUE);
}
}
wmxsdk->nw = connman_network_ref(nw);
wmxsdk->connecting_nw = NULL;
+ connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
connman_network_set_connected(nw, TRUE);
DBG("connected to network %s\n",
connman_network_get_identifier(nw));
if ((data->flags & IFF_LOWER_UP) != (flags & IFF_LOWER_UP)) {
if (flags & IFF_LOWER_UP) {
+ connman_network_set_method(network,
+ CONNMAN_IPCONFIG_METHOD_DHCP);
connman_network_set_connected(data->network, TRUE);
} else {
connman_network_set_connected(data->network, FALSE);
set_network_active(pending_network, FALSE);
break;
case CONNMAN_IPCONFIG_METHOD_DHCP:
+ connman_network_set_method(pending_network,
+ CONNMAN_IPCONFIG_METHOD_DHCP);
connman_network_set_connected(pending_network, active);
break;
}
bssid, bssid_len);
/* carrier on */
+ connman_network_set_method(task->network,
+ CONNMAN_IPCONFIG_METHOD_DHCP);
connman_network_set_connected(task->network, TRUE);
break;