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

index fa8b412205cd89546b4a325c558c68040eeaf491..0cf25114a3f576fc2788a549eb96d0087dd39b44 100644 (file)
@@ -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)) {