From d311de12959cb7fc8fc643c73de5d5a6f99c9d8d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 19 Apr 2013 16:50:21 +0300 Subject: [PATCH] emulator: Move Event Mask Page 2 from BR/EDR to BR/EDR/LE --- emulator/btdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index d85fd083f..d48144609 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 */ } -- 2.47.3