Diff between 830ed33fccc52556cbc01a09fbe13e8c2e3e7ae9 and d5ac1d2cda07879675b47dc4f473e8b4a58a9c6d

Changed Files

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

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index b54f91e..8317cf3 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -2378,6 +2378,13 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode,
 		cmd_complete(btdev, opcode, &status, sizeof(status));
 		break;
 
+	case BT_HCI_CMD_LE_SET_SCAN_RSP_DATA:
+		if (btdev->type == BTDEV_TYPE_BREDR)
+			goto unsupported;
+		status = BT_HCI_ERR_SUCCESS;
+		cmd_complete(btdev, opcode, &status, sizeof(status));
+		break;
+
 	case BT_HCI_CMD_LE_RAND:
 		if (btdev->type == BTDEV_TYPE_BREDR)
 			goto unsupported;