diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-11-12 14:07:19 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-11-23 12:58:50 +0200 |
commit | 8c12ec683a443b72c600751e3496a790bade6981 (patch) | |
tree | 42a84cb19b2ac739b7e5661502f9cdc8a292e88c /plugins | |
parent | 68dde4bb2c3e90a6f48dc48609636228dd186c8c (diff) | |
download | connman-8c12ec683a443b72c600751e3496a790bade6981.tar.gz connman-8c12ec683a443b72c600751e3496a790bade6981.tar.bz2 connman-8c12ec683a443b72c600751e3496a790bade6981.zip |
device: Move device creation func into device.c
The device creation function should be part of device.c and
not inet.c. After this change the inet.c can be used by
separate vpn daemon.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/iwmxsdk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/iwmxsdk.c b/plugins/iwmxsdk.c index 06de4c3d..4aaf9f37 100644 --- a/plugins/iwmxsdk.c +++ b/plugins/iwmxsdk.c @@ -672,7 +672,7 @@ error_scan: * Called through * * iwmx_sdk_dev_add - * connman_inet_create_device + * connman_device_create_from_index * connman_register * iwmx_cm_probe() */ @@ -856,7 +856,7 @@ static void iwmx_sdk_dev_add(unsigned idx, unsigned api_idx, const char *name) goto error_noifname; } - wmxsdk->dev = connman_inet_create_device(ifindex); + wmxsdk->dev = connman_device_create_from_index(ifindex); if (wmxsdk->dev == NULL) { connman_error("wmxsdk: %s: failed to create connman_device\n", name); |