Bluetooth: Move hci_abort_conn to hci_conn.c
authorBrian Gix <brian.gix@intel.com>
Tue, 16 Aug 2022 16:41:20 +0000 (09:41 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 31 Aug 2022 22:45:56 +0000 (15:45 -0700)
commit1a942de092c0b96216864fedcb4d8822ce3fc12e
treed15b9cb7b2875ed138642243dff6f89f4cb4ea9a
parent278d933e12f163369d1f18e8e3e5c49d5e77f233
Bluetooth: Move hci_abort_conn to hci_conn.c

hci_abort_conn() is a wrapper around a number of DISCONNECT and
CREATE_CONN_CANCEL commands that was being invoked from hci_request
request queues, which are now deprecated. There are two versions:
hci_abort_conn() which can be invoked from the hci_event thread, and
hci_abort_conn_sync() which can be invoked within a hci_sync cmd chain.

Signed-off-by: Brian Gix <brian.gix@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h
net/bluetooth/mgmt.c