From: Jaikumar Ganesh Date: Wed, 10 Nov 2010 23:45:07 +0000 (-0800) Subject: Revert "Bluetooth: Hack: Do not use power_save feature." X-Git-Tag: firefly_0821_release~9833^2~5^2~86 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dfa196f0e99696d22a4329ea3494175740904a26;p=firefly-linux-kernel-4.4.55.git Revert "Bluetooth: Hack: Do not use power_save feature." This reverts commit 3b02c046c3dfef5b5c4fa0c45b69654c107c7403. Signed-off-by: Jaikumar Ganesh --- diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 1c8c30d52b53..aabe0c3d4829 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -540,7 +540,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)) {