Please sign in to comment.
Bluetooth: L2CAP: fix use of Z_STRUCT_SECTION_ITERABLE
Two sections are needed: bt_l2cap_fixed_chan and bt_l2cap_br_fixed_chan. However the second one cannot be created using #define as the preprocessor will expand it to the first before compilation happens, sending bt_l2cap_br_fixed_chan instances in the wrong section. This fixes commit 4e8ddfd ("Bluetooth: L2CAP: Make use of Z_STRUCT_SECTION_ITERABLE"). Signed-off-by: Nicolas Pitre <firstname.lastname@example.org>
- Loading branch information...
Showing with 5 additions and 2 deletions.