Revert "Bluetooth: Enter active mode before establishing a SCO link."
author黄涛 <huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:32:29 +0000 (22:32 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:32:29 +0000 (22:32 +0800)
This reverts commit 8fd3238575a5410507846838dbb2d4553f3f5aa2.

net/bluetooth/hci_conn.c

index b10e3cdb08f87358ca64d0db8cf83c27f5ad624a..b7c4224f4e7dee01288dd31f4581f7a8821c7a21 100644 (file)
@@ -377,9 +377,6 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8
 
        if (acl->state == BT_CONNECTED &&
                        (sco->state == BT_OPEN || sco->state == BT_CLOSED)) {
-               acl->power_save = 1;
-               hci_conn_enter_active_mode(acl);
-
                if (lmp_esco_capable(hdev))
                        hci_setup_sync(sco, acl->handle);
                else