Bluetooth: Use hcon directly instead of conn->hcon where possible
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Oct 2013 10:43:00 +0000 (03:43 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 18 Oct 2013 11:37:01 +0000 (14:37 +0300)
commit06ae3314e0f67a222944155904a792399038f8be
tree786c2fc6d7145b785c30c439a2cc44a13b452d77
parente71f41bc7f73ec7f2cb678b51ace47eb05dc6af1
Bluetooth: Use hcon directly instead of conn->hcon where possible

When the HCI connection hcon is already dereferenced, then use hcon
directly instead of conn->hcon.

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