summaryrefslogtreecommitdiff
path: root/emulator
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-01-31 15:47:49 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-01-31 16:37:27 -0800
commit8c6ff341bb8b06272825695effdab855a7f264ed (patch)
tree0a5d016eddd46b94027eebe04ed2ac4f0dd1d524 /emulator
parent0cf3bbbf94e26e34b275a00f5ba237b131a28029 (diff)
downloadbluez-8c6ff341bb8b06272825695effdab855a7f264ed.tar.gz
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.
Diffstat (limited to 'emulator')
-rw-r--r--emulator/btdev.c2
1 files changed, 1 insertions, 1 deletions
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;
}