public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Bluetooth: hci_ll: Fix compilation issue
@ 2025-07-15  3:03 Kiran K
  2025-07-15  3:35 ` [v1] " bluez.test.bot
  2025-07-15  4:11 ` [PATCH v1] " Ivan Pravdin
  0 siblings, 2 replies; 4+ messages in thread
From: Kiran K @ 2025-07-15  3:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: ceggers, Kiran K

hci_ll.c: In function ‘ll_setup’:
hci_ll.c:656:68: error: ‘struct hci_dev’ has no member
                 named ‘quirks’
	set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);

Fixes: be736f5f89d5 ("Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap")
Signed-off-by: Kiran K <kiran.k@intel.com>
---
 drivers/bluetooth/hci_ll.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c
index e19e9bd49555..7044c86325ce 100644
--- a/drivers/bluetooth/hci_ll.c
+++ b/drivers/bluetooth/hci_ll.c
@@ -649,11 +649,11 @@ static int ll_setup(struct hci_uart *hu)
 		/* This means that there was an error getting the BD address
 		 * during probe, so mark the device as having a bad address.
 		 */
-		set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);
+		hci_set_quirk(hu->hdev, HCI_QUIRK_INVALID_BDADDR);
 	} else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) {
 		err = ll_set_bdaddr(hu->hdev, &lldev->bdaddr);
 		if (err)
-			set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);
+			hci_set_quirk(hu->hdev, HCI_QUIRK_INVALID_BDADDR);
 	}
 
 	/* Operational speed if any */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-15 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15  3:03 [PATCH v1] Bluetooth: hci_ll: Fix compilation issue Kiran K
2025-07-15  3:35 ` [v1] " bluez.test.bot
2025-07-15  4:11 ` [PATCH v1] " Ivan Pravdin
2025-07-15 13:04   ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox