Diff between aa6c727822ac8bc0154fa5ce1f7aad2695054e90 and 4b95a69b61b53edcc3bbee7245ed5979fc7ecdb7
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +2 | -0 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index e54da87..40e343d 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -1356,6 +1356,8 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode,
break;
case BT_HCI_CMD_WRITE_CURRENT_IAC_LAP:
+ if (btdev->type == BTDEV_TYPE_LE)
+ goto unsupported;
status = BT_HCI_ERR_SUCCESS;
cmd_complete(btdev, opcode, &status, sizeof(status));
break;