diff options
author | Martin Xu <martin.xu@intel.com> | 2009-12-30 16:24:09 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-30 00:52:30 -0800 |
commit | 4373a96829d0ed1153b5c72f8ef7c9522e3b7a07 (patch) | |
tree | 8240b0d83d388172cdaf0be9e94b4e36ca67867c /plugins/iwmx.c | |
parent | ffb30866441664a7c2adcc3147ae4c8f34097692 (diff) | |
download | connman-4373a96829d0ed1153b5c72f8ef7c9522e3b7a07.tar.gz connman-4373a96829d0ed1153b5c72f8ef7c9522e3b7a07.tar.bz2 connman-4373a96829d0ed1153b5c72f8ef7c9522e3b7a07.zip |
Set network method as CONNMAN_IPCONFIG_METHOD_DHCP
Before calling connman_network_set_connected(true), the method should
be set to CONNMAN_IPCONFIG_METHOD_DHCP.
Diffstat (limited to 'plugins/iwmx.c')
-rw-r--r-- | plugins/iwmx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/iwmx.c b/plugins/iwmx.c index 74e9786c..e17528d2 100644 --- a/plugins/iwmx.c +++ b/plugins/iwmx.c @@ -234,6 +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_connected(nw, TRUE); DBG("connected to network %s\n", connman_network_get_identifier(nw)); |