projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d060991
)
Bluetooth: Remove magic disconnect reason
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Fri, 1 Jun 2012 13:18:25 +0000
(16:18 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:16 +0000
(06:34 +0300)
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>
net/bluetooth/hci_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index cf39e95777fcbcc6a3372c5d4f8814f54dbe4ded..08994ecc3b6a5e7cc168ee7cd957a38c49d2e579 100644
(file)
--- 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
);
}
}