mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-21 11:53:56 +08:00
emulator: Fix controller version for BR/EDR type
This commit is contained in:
parent
b926af1c4f
commit
6b0eaec9bd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user