Add just enough support for being able to bring up LE capable virtual controllers using "btvirt". Fixes this error on "btvirt -l2": Unsupported command 0x2010 And on "hciconfig hci0 up": Can't init device hci0: Invalid request code (56) --- emulator/btdev.c | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html