Commit: 58f69e021203410431aca0756124fd16889c7e77
Parent: 70d0eac937ee6e9eb431d537d0550503d77573d0
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-05-05 12:15:16
Tree: cc567c4ed0e8c84fbfcc2fd139e38111fb4a8ef7

Remove flags2type() function This function was only being used by create_device_internal(). It is generating incorrect information when a single mode LE device has flags 0x02 (General Discoverable Mode), it was being "detected" as Dual Mode, and thus the adapter was attempting to connect through BR/EDR. This commit fixes CreateDevice() for these devices, but it is a partial solution. In future, we should drop the "device type" enumeration, as this information will come from kernel "device found" events. Also note that the "DEVICE_TYPE_DUALMODE" enumeration is not really being used, so it will probably disappear too.

Diffstat

M src/adapter.c | 22 ++- - - - - - - - - - - - - - - - - - - -

1 files changed, 2 insertions(+), 20 deletions(-)

View Full Diff | Patch