Diff between 3ad90901813af9da8b71f000ec10b3dd9ea43afc and 56d782116e6fb0bb283e8172063ca729ce2b402e
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +2 | -2 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 4d34aee..f4c79c2 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -3206,8 +3206,8 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode,
break;
case BT_HCI_CMD_SET_EVENT_MASK_PAGE2:
- if (btdev->type != BTDEV_TYPE_BREDRLE &&
- btdev->type != BTDEV_TYPE_BREDRLE50)
+ if (btdev->type == BTDEV_TYPE_BREDR20 ||
+ btdev->type == BTDEV_TYPE_AMP)
goto unsupported;
semp2 = data;
memcpy(btdev->event_mask_page2, semp2->mask, 8);