You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2020/05/12 08:12:06 UTC

[mynewt-nimble] 01/02: nimble: Fix HCI command struct definition

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit f45f924578ea695160bf08513a3ef940c458f385
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Mon May 11 15:53:22 2020 +0200

    nimble: Fix HCI command struct definition
---
 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 1461c5c..3df8dd6 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -108,7 +108,7 @@ struct ble_hci_cb_ctlr_to_host_fc_cp {
 #define BLE_HCI_OCF_CB_HOST_BUF_SIZE        (0x0033)
 struct ble_hci_cb_host_buf_size_cp {
     uint16_t acl_data_len;
-    uint16_t sco_data_len;
+    uint8_t  sco_data_len;
     uint16_t acl_num;
     uint16_t sco_num;
 } __attribute__((packed));