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