Skip to content
Commit ea9a067a authored by Johan Hedberg's avatar Johan Hedberg Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: ATT: Fix bogus CONTAINER_OF() usage



This CONTAINER_OF() worked by chance, but was actually wrong, since it
makes it look like bt_l2cap_le_chan is the parent container of bt_att.
Instead bt_l2cap_le_chan is simply a member of bt_att, i.e. we can
dereference it directly.

Change-Id: I7307517bae823e54b45db31f75462655ce6eb50d
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent e2eb446b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment