[PATCH] drivers: bluetooth: btti_main.c: replace quirks with new quirk_flags bitmap

Alexander Feilke posted 1 patch 5 days, 22 hours ago
drivers/bluetooth/btti_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers: bluetooth: btti_main.c: replace quirks with new quirk_flags bitmap
Posted by Alexander Feilke 5 days, 22 hours ago
The integer was changed to a bitmask in [1], but wasnt applied in the latest
patch that integrated the btti driver.

[1] 6851a0c228fc ("Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap")

Fixes: d1ba06b645ef ("PENDING: bluetooth: add cc33xx BLE UART and SDIO drivers")
Signed-off-by: Alexander Feilke <Alexander.Feilke@ew.tq-group.com>
---
 drivers/bluetooth/btti_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btti_main.c b/drivers/bluetooth/btti_main.c
index d3ca09e99b818..d6e1c68277f2d 100644
--- a/drivers/bluetooth/btti_main.c
+++ b/drivers/bluetooth/btti_main.c
@@ -329,7 +329,7 @@ int btti_hci_register_hdev(struct btti_private *private_data)
 	hdev->setup = btti_hci_if_setup;
 	SET_HCIDEV_DEV(hdev, &sdiodev->func->dev);
 
-	set_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks);
+	hci_set_quirk(hdev, HCI_QUIRK_NON_PERSISTENT_SETUP);
 
 	ret = hci_register_dev(hdev);
 	if (ret < 0) {
-- 
2.43.0