mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
Bluetooth: Do not auto off AMP controller
Since AMP controller is not managed by user space do not shut it down. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:
parent
74ad8fdaef
commit
ce2be9acff
@ -1743,8 +1743,11 @@ int hci_register_dev(struct hci_dev *hdev)
|
||||
}
|
||||
}
|
||||
|
||||
set_bit(HCI_AUTO_OFF, &hdev->dev_flags);
|
||||
set_bit(HCI_SETUP, &hdev->dev_flags);
|
||||
|
||||
if (hdev->dev_type != HCI_AMP)
|
||||
set_bit(HCI_AUTO_OFF, &hdev->dev_flags);
|
||||
|
||||
schedule_work(&hdev->power_on);
|
||||
|
||||
hci_notify(hdev, HCI_DEV_REG);
|
||||
|
Loading…
Reference in New Issue
Block a user