summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-06-01 16:18:25 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-05 06:34:16 +0300
commit7490c6c2013dc1d42557d7c4694930631b0d0f34 (patch)
tree3dba4aec952e137a08061c643b19f8239ee1bc34 /net
parentd060991f3bf4b6f8e9c5dec0c210fe76d9165000 (diff)
downloadlinux-7490c6c2013dc1d42557d7c4694930631b0d0f34.tar.bz2
Bluetooth: Remove magic disconnect reason
The macro gives a better idea of the what the error really is. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index cf39e95777fc..08994ecc3b6a 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -2307,7 +2307,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 %s",
hdev->name, batostr(&c->dst));
- hci_acl_disconn(c, 0x13);
+ hci_acl_disconn(c, HCI_ERROR_REMOTE_USER_TERM);
}
}