Bluetooth: Add hdev helper variable to hci_le_create_connection_cancel
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 21 Oct 2015 15:03:09 +0000 (18:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Oct 2015 16:45:43 +0000 (18:45 +0200)
commitb5c2b6214c609f2be4c020c0be90758b5feeb446
treeef531eb9316ea6189335aac6964d20071d71fe0b
parentec182f0397e7065dabf13a99fc745fcab0bdc641
Bluetooth: Add hdev helper variable to hci_le_create_connection_cancel

The hci_le_create_connection_cancel() function needs to use the hdev
pointer in many places so add a variable for it to avoid the need to
dereference the hci_conn every time.

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