From 6b0eaec9bd6bf09463d469d7cd53426423244fa2 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 31 Jan 2013 14:52:11 -0600 Subject: [PATCH] emulator: Fix controller version for BR/EDR type --- emulator/btdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index bbc8ed7b9..c8e5f668d 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -255,7 +255,12 @@ struct btdev *btdev_create(enum btdev_type type, uint16_t id) btdev->type = type; btdev->manufacturer = 63; - btdev->version = 0x06; + + if (type == BTDEV_TYPE_BREDR) + btdev->version = 0x05; + else + btdev->version = 0x06; + btdev->revision = 0x0000; switch (btdev->type) { -- 2.47.3