diff options
-rw-r--r-- | plugins/iwmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/iwmx.c b/plugins/iwmx.c index 98be6b37..079669a3 100644 --- a/plugins/iwmx.c +++ b/plugins/iwmx.c @@ -233,7 +233,7 @@ static void iwmx_cm_dev_connected(struct wmxsdk *wmxsdk) } wmxsdk->nw = connman_network_ref(nw); wmxsdk->connecting_nw = NULL; - connman_network_set_method(nw, CONNMAN_IPCONFIG_METHOD_DHCP); + connman_network_set_ipv4_method(nw, CONNMAN_IPCONFIG_METHOD_DHCP); connman_network_set_connected(nw, TRUE); DBG("connected to network %s\n", connman_network_get_identifier(nw)); |