Bluetooth: Rename bt_cb()->req into bt_cb()->hci
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 25 Oct 2015 21:45:53 +0000 (22:45 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 26 Oct 2015 06:21:03 +0000 (08:21 +0200)
commit242c0ebd3730334c43b9c04eeec40d8dd5c3a26e
treefce6d56e15ae9123b7cc4d48a47f14ff3aa539ec
parentd94a61040d8f99cbaf7f3e7686315edcc6dc2400
Bluetooth: Rename bt_cb()->req into bt_cb()->hci

The SKB context buffer for HCI request is really not just for requests,
information in their are preserved for the whole HCI layer. So it makes
more sense to actually rename it into bt_cb()->hci and also call it then
struct hci_ctrl.

In addition that allows moving the decoded opcode for outgoing packets
into that struct. So far it was just consuming valuable space from the
main shared items. And opcode are not valid for L2CAP packets.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
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