From f85bbda005b7507111d728a33950bdc8e445ceb9 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 6 Sep 2022 14:04:39 +0200 Subject: [PATCH] nimble/ll: Fix BLE_HCI_OCF_VS_SET_DATA_LEN OCF This was duplicating BLE_HCI_OCF_VS_CSS_ENABLE and caused assert on register. --- nimble/include/nimble/hci_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/include/nimble/hci_common.h b/nimble/include/nimble/hci_common.h index cfcbd822a..a3c3dc3f0 100644 --- a/nimble/include/nimble/hci_common.h +++ b/nimble/include/nimble/hci_common.h @@ -1168,7 +1168,7 @@ struct ble_hci_vs_css_read_conn_slot_rp { uint16_t conn_handle; uint16_t slot_idx; } __attribute__((packed)); -#define BLE_HCI_OCF_VS_SET_DATA_LEN (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0004)) +#define BLE_HCI_OCF_VS_SET_DATA_LEN (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0008)) struct ble_hci_vs_set_data_len_cp { uint16_t conn_handle; uint16_t tx_octets;