]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: AMP: Get amp_mgr reference in HS hci_conn
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 18 Oct 2012 10:16:19 +0000 (13:16 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 18 Oct 2012 10:27:20 +0000 (07:27 -0300)
commitcdce09b8d44a41d4054e61c82dc46845c426ed74
treea047952d3ce06440c9743cc5b582079d5df37030
parentdee13dee8c419b7aee71d3f4980040bf4b6d8111
Bluetooth: AMP: Get amp_mgr reference in HS hci_conn

When assigning amp_mgr in hci_conn (type AMP_LINK) get also reference.
In hci_conn_del those references would be put for both conn types
AMP_LINK and ACL_LINK associated with amp_mgr.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/a2mp.h
net/bluetooth/a2mp.c
net/bluetooth/amp.c