iwmx: Fix build failure
authorLeena Gunda <leena.gunda@wipro.com>
Wed, 15 Dec 2010 04:00:19 +0000 (09:30 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 15 Dec 2010 09:20:47 +0000 (10:20 +0100)
connman_network_set_method() has been replaced by an IPv4 or
an IPv6 version.

Fixes BMC#11315

plugins/iwmx.c

index 98be6b3..079669a 100644 (file)
@@ -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));