device: Get service type from __connman_device_find_device
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 7 Jul 2011 14:49:09 +0000 (16:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 7 Jul 2011 14:53:48 +0000 (16:53 +0200)
commitb47073ad559febfcec83ff9e7a8ba7501545790e
treef1b28fde4d07b3c9755823efa57875d322de4d71
parent31e6622f5581e26eb1c6ad27f1378059f23b2f89
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
src/device.c