summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Gunda <leena.gunda@wipro.com>2010-12-15 09:30:19 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-15 10:20:47 +0100
commit0a33fe725116a685aff871dad0df6fbaea699eaf (patch)
tree3c49a516e6c875eee214f6caa9b8ba77329d3f1c
parent933237c10e7c3d214d3731ee2920022d83dd188d (diff)
downloadconnman-0a33fe725116a685aff871dad0df6fbaea699eaf.tar.gz
connman-0a33fe725116a685aff871dad0df6fbaea699eaf.tar.bz2
connman-0a33fe725116a685aff871dad0df6fbaea699eaf.zip
iwmx: Fix build failure
connman_network_set_method() has been replaced by an IPv4 or an IPv6 version. Fixes BMC#11315
-rw-r--r--plugins/iwmx.c2
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));