]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Bluetooth: Convert L2CAP security callback to use hci_cb
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 18 Feb 2015 12:53:56 +0000 (14:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Feb 2015 07:44:28 +0000 (08:44 +0100)
commit354fe804edb29625eee6dd7b1f3c72b43392704d
tree9fe25fcf417b8004ebe0a9bca904711ed6416a03
parentfba7ecf09bc458b15f9d578e4213c8c349f9592d
Bluetooth: Convert L2CAP security callback to use hci_cb

There's no reason to have the custom hci_proto_auth/encrypt_cfm helpers
when the hci_cb list works equally well. This patch adds L2CAP to the
hci_cb list and makes l2cap_security_cfm a private function of
l2cap_core.c.

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