diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-07 16:49:09 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-07 16:53:48 +0200 |
commit | b47073ad559febfcec83ff9e7a8ba7501545790e (patch) | |
tree | f1b28fde4d07b3c9755823efa57875d322de4d71 /src/device.c | |
parent | 31e6622f5581e26eb1c6ad27f1378059f23b2f89 (diff) | |
download | connman-b47073ad559febfcec83ff9e7a8ba7501545790e.tar.gz connman-b47073ad559febfcec83ff9e7a8ba7501545790e.tar.bz2 connman-b47073ad559febfcec83ff9e7a8ba7501545790e.zip |
device: Get service type from __connman_device_find_device
The device search is based on the service type, not on the device type.
Fixes BMC#18747
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 6e521644..cb0e4cad 100644 --- a/src/device.c +++ b/src/device.c @@ -1275,7 +1275,7 @@ struct connman_device *__connman_device_find_device( for (list = device_list; list != NULL; list = list->next) { struct connman_device *device = list->data; enum connman_service_type service_type = - connman_device_get_type(device); + __connman_device_get_service_type(device); if (service_type != type) continue; |