Ask for DEVICE_TYPE_WIFI when looking for a WiFi device
authorSamuel Ortiz <sameo@linux.intel.com>
Sat, 19 Dec 2009 00:42:29 +0000 (01:42 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 19 Dec 2009 01:04:37 +0000 (17:04 -0800)
commit7ebe1d8103b4076cdf5e4a19ec41ae23019eecfa
tree7b92c51f8eb907171ce4671b3e110e6588922b3c
parent24a43004a9391e9e1576e209349d2b2a3815a854
Ask for DEVICE_TYPE_WIFI when looking for a WiFi device

The __connman_element_find_device(CONNMAN_SERVICE_TYPE_WIFI) was working
fine while SERVICE_TYPE_WIFI and DEVICE_TYPE_WIFI were equal. With the
introduction of CONNMAN_SERVICE_TYPE_SYSTEM, this last assertion is no
longer true, breaking the service API for connection.
src/service.c