diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2014-02-26 20:21:41 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-26 19:41:33 -0800 |
commit | 06c053fb54c10be49ef30fc9b6b01e42cc9a1b61 (patch) | |
tree | fda48d055aca28b21f8d704899bf1700d03c484b /net/bluetooth/hci_conn.c | |
parent | b1efcc2870687ec3e3c51fa72210b8e4fa465df8 (diff) | |
download | linux-06c053fb54c10be49ef30fc9b6b01e42cc9a1b61.tar.gz linux-06c053fb54c10be49ef30fc9b6b01e42cc9a1b61.tar.bz2 linux-06c053fb54c10be49ef30fc9b6b01e42cc9a1b61.zip |
Bluetooth: Declare le_conn_failed in hci_core.h
This patch adds the "hci_" prefix to le_conn_failed() helper and
declares it in hci_core.h so it can be reused in hci_event.c.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 3d6b1cf07d23..dc8aad946426 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -515,7 +515,7 @@ struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src) EXPORT_SYMBOL(hci_get_route); /* This function requires the caller holds hdev->lock */ -static void le_conn_failed(struct hci_conn *conn, u8 status) +void hci_le_conn_failed(struct hci_conn *conn, u8 status) { struct hci_dev *hdev = conn->hdev; @@ -545,7 +545,7 @@ static void create_le_conn_complete(struct hci_dev *hdev, u8 status) if (!conn) goto done; - le_conn_failed(conn, status); + hci_le_conn_failed(conn, status); done: hci_dev_unlock(hdev); |