projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa9939
)
Revert "Bluetooth: Hack: Do not use power_save feature."
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:32:24 +0000
(22:32 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:32:24 +0000
(22:32 +0800)
This reverts commit
c09426ea439387637204ccebafd6cd7f02065e62
.
net/bluetooth/hci_conn.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_conn.c
b/net/bluetooth/hci_conn.c
index fa8b412205cd89546b4a325c558c68040eeaf491..0cf25114a3f576fc2788a549eb96d0087dd39b44 100644
(file)
--- a/
net/bluetooth/hci_conn.c
+++ b/
net/bluetooth/hci_conn.c
@@
-500,7
+500,7
@@
void hci_conn_enter_active_mode(struct hci_conn *conn)
if (test_bit(HCI_RAW, &hdev->flags))
return;
- if (conn->mode != HCI_CM_SNIFF
/* || !conn->power_save */
)
+ if (conn->mode != HCI_CM_SNIFF
|| !conn->power_save
)
goto timer;
if (!test_and_set_bit(HCI_CONN_MODE_CHANGE_PEND, &conn->pend)) {