]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Convert disconn_cfm to be triggered through hci_cb
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 18 Feb 2015 12:53:58 +0000 (14:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Feb 2015 07:44:29 +0000 (08:44 +0100)
commit5d0edffda11dd65c98122247da668d7066359e98
tree70bcc5b6861fe48521d9aab181c8d7e0db15c5de
parent724a1233c392bf55dd1964b26184d5713a5a09b6
Bluetooth: Convert disconn_cfm to be triggered through hci_cb

This patch moves all the disconn_cfm callbacks to be based on the hci_cb
list. This means making l2cap_disconn_cfm private to l2cap_core.c and
sco_conn_cb private to sco.c respectively. Since the hci_conn type
filtering isn't done any more on the wrapper level the callbacks
themselves need to check that they were passed a relevant type of
connection.

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/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/sco.c