summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2010-03-23 17:27:46 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-23 12:06:59 +0100
commitd4e56644a21464be6af716739cdbe4a8545a696d (patch)
tree35730b1abea16e9fc99fa33639b785d54352496f /src/device.c
parent449a6aa318165cc8e39ced502a221ee16bbb2abb (diff)
downloadconnman-d4e56644a21464be6af716739cdbe4a8545a696d.tar.gz
connman-d4e56644a21464be6af716739cdbe4a8545a696d.tar.bz2
connman-d4e56644a21464be6af716739cdbe4a8545a696d.zip
Use udev_device_get_devtype before __connman_inet_get_device_type
With some specific 3G cards __connman_inet_get_device_type() fails to give the correct device type and we end up having both ethernet and 3G services when pluging those in. As udev_device_get_devtype() is more reliable, we're now calling it first and falling back to __connman_inet_get_device_type() when udev_device_get_devtype() returns a NULL string.
Diffstat (limited to 'src/device.c')
0 files changed, 0 insertions, 0 deletions