diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-29 15:15:48 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-03-29 15:15:48 -0700 |
commit | a0e24ed810d34143b92c13c3f5df5783333af714 (patch) | |
tree | 7fe505288c4c5574508ac88669f7fa26f9d1e196 /emulator/hciemu.c | |
parent | 056bd3a8a8c9475170fbed8855bc3cfa01dd671a (diff) | |
download | bluez-a0e24ed810d34143b92c13c3f5df5783333af714.tar.gz |
emulator: Add support for emulating Bluetooth 2.0 controllers
Diffstat (limited to 'emulator/hciemu.c')
-rw-r--r-- | emulator/hciemu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/hciemu.c b/emulator/hciemu.c index fe2f66286..4881a2499 100644 --- a/emulator/hciemu.c +++ b/emulator/hciemu.c @@ -327,6 +327,9 @@ struct hciemu *hciemu_new(enum hciemu_type type) case HCIEMU_TYPE_LE: hciemu->btdev_type = BTDEV_TYPE_LE; break; + case HCIEMU_TYPE_LEGACY: + hciemu->btdev_type = BTDEV_TYPE_BREDR20; + break; default: return NULL; } |