Skip to content

Commit 8bbc05d

Browse files
aaronyegxkartben
authored andcommitted
Bluetooth: Host: direction: correct the cte_req_enable opcode
The opcode of hci_df_set_conn_cte_req_enable command should be BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE (0x2056). Signed-off-by: Aaron Ye <[email protected]>
1 parent 2768acb commit 8bbc05d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/direction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ static int hci_df_set_conn_cte_req_enable(struct bt_conn *conn, bool enable,
822822

823823
bt_hci_cmd_state_set_init(buf, &state, conn->flags, BT_CONN_CTE_REQ_ENABLED, enable);
824824

825-
err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CONN_CTE_RX_PARAMS, buf, &rsp);
825+
err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE, buf, &rsp);
826826
if (err) {
827827
return err;
828828
}

0 commit comments

Comments
 (0)