From 4453f67fcffe4b07ae086b192f172ae1c7f1fce1 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 20 May 2015 19:10:45 +0200 Subject: [PATCH] emulator: Handle Host Number Of Completed Packets Command The Host_Number_Of_Completed_Packets command is a special command in the sense that no event is normally generated after the command has completed. --- emulator/btdev.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index d47d50e93..af939337b 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -2402,6 +2402,12 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode, cmd_complete(btdev, opcode, &status, sizeof(status)); break; + case BT_HCI_CMD_HOST_NUM_COMPLETED_PACKETS: + /* This command is special in the sense that no event is + * normally generated after the command has completed. + */ + break; + case BT_HCI_CMD_READ_NUM_SUPPORTED_IAC: if (btdev->type == BTDEV_TYPE_LE) goto unsupported; -- 2.47.3