]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09138b4cd2d33a05a8c69fa72a476ad42c40ca6a
tree89201941c7f39ed13d843de4c65ce8ab230e702e
parent80914448d7d8507d1c158accb6abc7eb240461a6
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