diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-10-20 14:29:08 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-10-21 11:32:23 -0700 |
commit | 47be9d40561649a2d060016cdc2a67bb79cd4d36 (patch) | |
tree | 765e304573c9893373fc67c237abdba1abd0c952 /monitor/packet.c | |
parent | 655078d1f867390ad7ed9eaa208994506511666b (diff) | |
download | bluez-47be9d40561649a2d060016cdc2a67bb79cd4d36.tar.gz |
monitor: Enable decoding of MSFT extension with emulator
This enables decoding MSFT extension with emulator instances since it
shall be the only one using Linux Foundation as manufacturer.
Diffstat (limited to 'monitor/packet.c')
-rw-r--r-- | monitor/packet.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/monitor/packet.c b/monitor/packet.c index 9b81cfc89..9030f2493 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -4021,6 +4021,15 @@ void packet_monitor(struct timeval *tv, struct ucred *cred, */ index_list[index].msft_opcode = 0xFCF0; break; + case 1521: + /* + * Emulator controllers use Linux Foundation as + * manufacturer and support the + * Microsoft vendor extenions using + * 0xFC1E for VsMsftOpCode. + */ + index_list[index].msft_opcode = 0xFC1E; + break; } } |