Diff between b926af1c4f4b58fbddd846db4b0b5fb1070cab92 and 6b0eaec9bd6bf09463d469d7cd53426423244fa2

Changed Files

File Additions Deletions Status
emulator/btdev.c +6 -1 modified

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index bbc8ed7..c8e5f66 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) {