Bluetooth: Refactor HCI request variables into own struct
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 30 Mar 2015 20:21:02 +0000 (23:21 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Mar 2015 21:20:53 +0000 (23:20 +0200)
commitdb6e3e8d016823c6b0f773c70a69ce65807d8a44
tree89201941c7f39ed13d843de4c65ce8ab230e702e
parenta4368ff3ed3b57e4b5e36d83b75604f68bbcdaad
Bluetooth: Refactor HCI request variables into own struct

In order to shrink the size of bt_skb_cb, this patch moves the HCI
request related variables into their own req_ctrl struct. Additionall
the L2CAP and HCI request structs are placed inside the same union since
they will never be used at the same time for the same skb.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/bluetooth.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c
net/bluetooth/hci_sock.c