summaryrefslogtreecommitdiff
path: root/plugins/iwmx.c
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2010-01-04 13:56:57 +0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-03 22:05:18 -0800
commita8777f74f4c657d42c4f953cb3b287062ca16198 (patch)
treeddf88d84c3229cee5d223f9130dec75d37852ca6 /plugins/iwmx.c
parent443fbea78cbd9dbe0d0fc3b3e01e0247d2368f6c (diff)
downloadconnman-a8777f74f4c657d42c4f953cb3b287062ca16198.tar.gz
connman-a8777f74f4c657d42c4f953cb3b287062ca16198.tar.bz2
connman-a8777f74f4c657d42c4f953cb3b287062ca16198.zip
Fix compilation error within WiMAX plugin
Diffstat (limited to 'plugins/iwmx.c')
-rw-r--r--plugins/iwmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/iwmx.c b/plugins/iwmx.c
index df786d25..0ee6580f 100644
--- a/plugins/iwmx.c
+++ b/plugins/iwmx.c
@@ -234,7 +234,7 @@ static void iwmx_cm_dev_connected(struct wmxsdk *wmxsdk)
}
wmxsdk->nw = connman_network_ref(nw);
wmxsdk->connecting_nw = NULL;
- connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
+ connman_network_set_method(nw, CONNMAN_IPCONFIG_METHOD_DHCP);
connman_network_set_connected(nw, TRUE);
DBG("connected to network %s\n",
connman_network_get_identifier(nw));