summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_sync.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-21 21:58:34 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-07-22 03:16:10 +0300
commit1f7435c8f6558a94f75b408a74140bdcbd0f6dd1 (patch)
treef6a762f7e116578c54ae2a19069efc1b25cfaee7 /net/bluetooth/hci_sync.c
parenta86ddbffa6ed05bc2465a545a96627b6e776c019 (diff)
downloadlinux-1f7435c8f6558a94f75b408a74140bdcbd0f6dd1.tar.xz
Bluetooth: mgmt: Fix using hci_conn_abort
This fixes using hci_conn_abort instead of using hci_conn_abort_sync. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_sync.c')
-rw-r--r--net/bluetooth/hci_sync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 36a501959b6d..1fbeee970aa7 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -4489,8 +4489,7 @@ static int hci_reject_conn_sync(struct hci_dev *hdev, struct hci_conn *conn,
sizeof(cp), &cp, HCI_CMD_TIMEOUT);
}
-static int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn,
- u8 reason)
+int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, u8 reason)
{
int err;