Diff between 449ab3a1ad4567d6a1d025998ce7e5aaa4a58176 and d311de12959cb7fc8fc643c73de5d5a6f99c9d8d

Changed Files

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

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index d85fd08..d481446 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -259,7 +259,6 @@ static void set_bredr_commands(struct btdev *btdev)
 	btdev->commands[17] |= 0x40;	/* Write Simple Pairing Mode */
 	btdev->commands[18] |= 0x01;	/* Read Inquiry Response TX Power */
 	btdev->commands[18] |= 0x02;	/* Write Inquiry Response TX Power */
-	btdev->commands[22] |= 0x04;	/* Set Event Mask Page 2 */
 	btdev->commands[23] |= 0x04;	/* Read Data Block Size */
 }
 
@@ -289,6 +288,7 @@ static void set_bredrle_commands(struct btdev *btdev)
 	/* Extra BR/EDR commands we want to only support for >= 4.0
 	 * adapters.
 	 */
+	btdev->commands[22] |= 0x04;	/* Set Event Mask Page 2 */
 	btdev->commands[31] |= 0x80;	/* Read Sync Train Parameters */
 }