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:
d766091
)
Revert "Bluetooth: Increase HCI reset timeout in hci_dev_do_close"
author
Gustavo F. Padovan
<
[email protected]
>
Fri, 23 Dec 2011 20:59:13 +0000
(18:59 -0200)
committer
Gustavo F. Padovan
<
[email protected]
>
Fri, 23 Dec 2011 21:00:02 +0000
(19:00 -0200)
This reverts commit
e1b6eb3ccb0c2a34302a9fd87dd15d7b86337f23
.
This was causing a delay of 10 seconds in the resume process of a Thinkpad
laptop. I'm afraid this could affect more devices once 3.2 is released.
Reported-by: Tomáš Janoušek <
[email protected]
>
Signed-off-by: Gustavo F. Padovan <
[email protected]
>
net/bluetooth/hci_core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index be84ae33ae36bec88f4f67502780b4fe5333e270..b84458dcc2261259d83e1bad2aecef95ed622113 100644
(file)
--- a/
net/bluetooth/hci_core.c
+++ b/
net/bluetooth/hci_core.c
@@
-613,7
+613,7
@@
static int hci_dev_do_close(struct hci_dev *hdev)
if (!test_bit(HCI_RAW, &hdev->flags)) {
set_bit(HCI_INIT, &hdev->flags);
__hci_request(hdev, hci_reset_req, 0,
- msecs_to_jiffies(
HCI_INIT_TIMEOUT
));
+ msecs_to_jiffies(
250
));
clear_bit(HCI_INIT, &hdev->flags);
}