| commit | ffd15131d2cbef4c17223f5b44e4808669c4d04e | [log] [tgz] | 
|---|---|---|
| author | Jim Luther <jilu@oticon.com> | Fri May 29 14:50:22 2020 +0200 | 
| committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri May 29 17:43:32 2020 +0200 | 
| tree | cfa8130d4cb56ddc4345b274d85e00af85e15aa4 | |
| parent | 95ac55327b8bcc5d6269876c3ee7190298ef56b9 [diff] | 
bluetooth: host: fix unpacked l2cap struct The bt_l2cap_le_conn_rsp struct in l2cap_internal.h has not been declared __packed. This can cause alignment problems on some platforms if the struct is placed on an unaligned address. A __packed declaration solves this issue by forcing the compiler to use store instructions that do not required alignment. Signed-off-by: Jim Luther <jilu@oticon.com>