[PATCH v4 2/4] Bluetooth: hci_qca: enable Qualcomm WCN399x for AOSP extension

From: Joseph Hwang
Date: Sun Sep 26 2021 - 03:09:33 EST


This patch enables Qualcomm WCN399x to support the AOSP extension.

Reported-by: kernel test robot <lkp@xxxxxxxxx>

Reviewed-by: Miao-chen Chou <mcchou@xxxxxxxxxxxx>
Signed-off-by: Joseph Hwang <josephsih@xxxxxxxxxxxx>

---

Changes in v4:
- Call hci_set_aosp_capable in the driver.

Changes in v3:
- Fix the auto build test ERROR
"undefined symbol: btandroid_set_quality_report" that occurred
with some kernel configs.

Changes in v2:
- Fix the title

drivers/bluetooth/hci_qca.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 53deea2eb7b4..e2566d606c93 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -1730,6 +1730,7 @@ static int qca_setup(struct hci_uart *hu)
if (qca_is_wcn399x(soc_type) ||
qca_is_wcn6750(soc_type)) {
set_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks);
+ hci_set_aosp_capable(hdev);

ret = qca_read_soc_version(hdev, &ver, soc_type);
if (ret)
--
2.33.0.685.g46640cef36-goog