[PATCH v1 0/1] Bluetooth: hci_qca: only assign wakeup with serial port support

From: Zhengping Jiang
Date: Thu Oct 13 2022 - 17:45:21 EST



This patch will check if the serial port supports wakeup before assigning
the hdev->wakeup callback. After landing the 'commit c1a74160eaf1a
("Bluetooth: hci_qca: Add device_may_wakeup support")', the wake-on-bt
was broken in Jacuzzi because the qca_wakeup returns false. In this case
it will fall back to the default hci_uart_wakeup.

Changes in v1:
- Check serial port support before assigning wakeup callback

Zhengping Jiang (1):
Bluetooth: hci_qca: only assign wakeup with serial port support

drivers/bluetooth/hci_qca.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
2.38.0.413.g74048e4d9e-goog