diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2013-01-30 11:50:56 -0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-03-08 10:38:43 -0300 |
commit | bed71748346ae0807c7f7a2913965508dbd61403 (patch) | |
tree | 2919c16c4f880a6a60d5896e9b7a50026f0b96c2 /net/bluetooth/hci_core.c | |
parent | 7da060c1c01b103d181dba39bce9bd141a945f99 (diff) | |
download | talos-obmc-linux-bed71748346ae0807c7f7a2913965508dbd61403.tar.gz talos-obmc-linux-bed71748346ae0807c7f7a2913965508dbd61403.zip |
Bluetooth: Rename hci_acl_disconn
As hci_acl_disconn function basically sends the HCI Disconnect Command
and it is used to disconnect ACL, SCO and LE links, renaming it to
hci_disconnect is more suitable.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 60793e7b768b..4cb46c24a749 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -2398,7 +2398,7 @@ static void hci_link_tx_to(struct hci_dev *hdev, __u8 type) if (c->type == type && c->sent) { BT_ERR("%s killing stalled connection %pMR", hdev->name, &c->dst); - hci_acl_disconn(c, HCI_ERROR_REMOTE_USER_TERM); + hci_disconnect(c, HCI_ERROR_REMOTE_USER_TERM); } } |