From a6bbc7617fe04b20174d7d279e5ab3fe022bc4f0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 27 Jan 2013 05:09:49 -0600 Subject: [PATCH] emulator: Fix LE Read White List Size response variable naming --- emulator/btdev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index 3f5a89d17..7aeb3ed27 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -694,7 +694,7 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode, struct bt_hci_rsp_le_read_local_features lrlf; struct bt_hci_rsp_le_read_adv_tx_power lratp; struct bt_hci_rsp_le_read_supported_states lrss; - struct bt_hci_rsp_le_read_white_list_size lrws; + struct bt_hci_rsp_le_read_white_list_size lrwls; uint8_t status, page; switch (opcode) { @@ -1122,9 +1122,9 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode, break; case BT_HCI_CMD_LE_READ_WHITE_LIST_SIZE: - lrws.status = 0; - lrws.size = 0; - cmd_complete(btdev, opcode, &lrws, sizeof(lrws)); + lrwls.status = 0; + lrwls.size = 0; + cmd_complete(btdev, opcode, &lrwls, sizeof(lrwls)); case BT_HCI_CMD_LE_READ_SUPPORTED_STATES: lrss.status = BT_HCI_ERR_SUCCESS; -- 2.47.3