aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-06-01 09:18:25 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:16 -0400
commit7490c6c2013dc1d42557d7c4694930631b0d0f34 (patch)
tree3dba4aec952e137a08061c643b19f8239ee1bc34 /net/bluetooth
parentd060991f3bf4b6f8e9c5dec0c210fe76d9165000 (diff)
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/bluetooth')
-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)
2307 if (c->type == type && c->sent) { 2307 if (c->type == type && c->sent) {
2308 BT_ERR("%s killing stalled connection %s", 2308 BT_ERR("%s killing stalled connection %s",
2309 hdev->name, batostr(&c->dst)); 2309 hdev->name, batostr(&c->dst));
2310 hci_acl_disconn(c, 0x13); 2310 hci_acl_disconn(c, HCI_ERROR_REMOTE_USER_TERM);
2311 } 2311 }
2312 } 2312 }
2313 2313