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

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

commit 3a2f8ef3a5a8ab8ab8bb74fc409b9818c4cc0cb8
Author: Szymon Janc <[email protected]>
AuthorDate: Fri Oct 9 16:37:20 2026 +0200

    nimble/hci: Add missing packed attribute to CSS slot changed event
    
    All HCI structures should be packed. This was not affecting struct
    layout since it contains only 16-bit fields but it is now consistent
    with other definitions.
    
    Assisted-by: Claude:claude-opus-5-5
---
 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 7745c9e11..5deebddf7 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -1825,7 +1825,7 @@ struct ble_hci_ev_vs {
 struct ble_hci_ev_vs_css_slot_changed {
     uint16_t conn_handle;
     uint16_t slot_idx;
-};
+} __attribute__((packed));
 
 #define BLE_HCI_VS_SUBEV_ISO_HCI_FEEDBACK       (0x03)
 struct feedback_pkt {

Reply via email to