From 8c6ff341bb8b06272825695effdab855a7f264ed Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 31 Jan 2022 15:47:49 -0800 Subject: [PATCH] btdev: Fix command status of BT_HCI_CMD_LE_TERM_BIG The status was reporting BT_HCI_CMD_DISCONNECT instead of BT_HCI_CMD_LE_TERM_BIG. --- emulator/btdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index 0ef840a95..902ce86a8 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -5733,7 +5733,7 @@ static int cmd_create_big_test(struct btdev *dev, const void *data, uint8_t len) static int cmd_term_big(struct btdev *dev, const void *data, uint8_t len) { - cmd_status(dev, BT_HCI_ERR_SUCCESS, BT_HCI_CMD_DISCONNECT); + cmd_status(dev, BT_HCI_ERR_SUCCESS, BT_HCI_CMD_LE_TERM_BIG); return 0; } -- 2.47.3