OSDN Git Service

shared: Create BR/EDR/LE device type by default
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 31 Jan 2013 20:04:00 +0000 (14:04 -0600)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 31 Jan 2013 20:26:40 +0000 (14:26 -0600)
src/shared/hciemu.c

index a15102d..e921740 100644 (file)
@@ -195,7 +195,7 @@ static bool create_vhci(struct hciemu *hciemu)
        const char *str;
        int fd, i;
 
-       btdev = btdev_create(BTDEV_TYPE_BREDR, 0x00);
+       btdev = btdev_create(BTDEV_TYPE_BREDRLE, 0x00);
        if (!btdev)
                return false;
 
@@ -226,7 +226,7 @@ static bool create_stack(struct hciemu *hciemu)
        struct bthost *bthost;
        int sv[2];
 
-       btdev = btdev_create(BTDEV_TYPE_BREDR, 0x00);
+       btdev = btdev_create(BTDEV_TYPE_BREDRLE, 0x00);
        if (!btdev)
                return false;