[PATCH v1 03/10] Bluetooth: btmtksdio: add .set_bdaddr support

sean.wang at mediatek.com sean.wang at mediatek.com
Fri Oct 8 15:10:10 PDT 2021


From: Sean Wang <sean.wang at mediatek.com>

add .set_bdaddr support

Signed-off-by: Sean Wang <sean.wang at mediatek.com>
---
 drivers/bluetooth/btmtksdio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 53682a4c2ced..77d1c4ac582d 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -834,6 +834,8 @@ static int btmtksdio_probe(struct sdio_func *func,
 	hdev->setup    = btmtksdio_setup;
 	hdev->shutdown = btmtksdio_shutdown;
 	hdev->send     = btmtksdio_send_frame;
+	hdev->set_bdaddr = btmtk_set_bdaddr;
+
 	SET_HCIDEV_DEV(hdev, &func->dev);
 
 	hdev->manufacturer = 70;
-- 
2.25.1




More information about the Linux-mediatek mailing list