]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2d56822a70230cad30b15f2663405b263713abe
tree786c2fc6d7145b785c30c439a2cc44a13b452d77
parent8cf9865e63f52a1a8f591a338b53a519a36b1191
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