Bluetooth: Refactor L2CAP variables into l2cap_ctrl
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 30 Mar 2015 20:21:01 +0000 (23:21 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Mar 2015 21:20:53 +0000 (23:20 +0200)
We're getting very close to the maximum possible size of bt_skb_cb. To
prepare to shrink the struct with the help of a union this patch moves
all L2CAP related variables into the l2cap_ctrl struct. To later add
other 'ctrl' structs the L2CAP one is renamed simple 'l2cap' instead
of 'control'.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/bluetooth.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c
net/bluetooth/smp.c

Simple merge
Simple merge
Simple merge
Simple merge