]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: hci_qca: only assign wakeup with serial port support
authorZhengping Jiang <jiangzp@google.com>
Thu, 13 Oct 2022 21:45:08 +0000 (14:45 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:23 +0000 (14:19 -0800)
commite9b3e5b8c65733f626a7ee919c4bc895b51d7bb2
tree9224fc399bdcc01591d7990218a579b38c3f02f9
parentd11ab690c300becca17223531f9ca4ae29284c52
Bluetooth: hci_qca: only assign wakeup with serial port support

Only assign hdev->wakeup if the serial port supports wakeup. Otherwise
it will fall back to the hci_uart_wakeup or the behavior that can be
overridden before calling the hci_uart_register_device().

Signed-off-by: Zhengping Jiang <jiangzp@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_qca.c