Diff between cd4ed91a4cca697ee1209a3035152c46fe5826ad and 6d67d8da9fc41415c2b7b321e65f282b93c7381b

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 4a54a23..b54f91e 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -2353,6 +2353,13 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode,
 		cmd_complete(btdev, opcode, &lrwls, sizeof(lrwls));
 		break;
 
+	case BT_HCI_CMD_LE_CLEAR_WHITE_LIST:
+		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_READ_SUPPORTED_STATES:
 		if (btdev->type == BTDEV_TYPE_BREDR)
 			goto unsupported;