summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmtkuart.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-03-09 01:03:53 +0100
committerMarcel Holtmann <marcel@holtmann.org>2022-03-18 17:12:07 +0100
commit3640e7f4cb35353b39596816379def67ec9c58f4 (patch)
treedf9e899bab002abad12ff7bde3d54dcf514df858 /drivers/bluetooth/btmtkuart.c
parentBluetooth: btmtkuart: rely on BT_MTK module (diff)
downloadlinux-3640e7f4cb35353b39596816379def67ec9c58f4.tar.xz
linux-3640e7f4cb35353b39596816379def67ec9c58f4.zip
Bluetooth: btmtkuart: add .set_bdaddr support
add .set_bdaddr support Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtkuart.c')
-rw-r--r--drivers/bluetooth/btmtkuart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmtkuart.c b/drivers/bluetooth/btmtkuart.c
index 136b901eb6f2..7d405a16f864 100644
--- a/drivers/bluetooth/btmtkuart.c
+++ b/drivers/bluetooth/btmtkuart.c
@@ -878,6 +878,7 @@ static int btmtkuart_probe(struct serdev_device *serdev)
hdev->setup = btmtkuart_setup;
hdev->shutdown = btmtkuart_shutdown;
hdev->send = btmtkuart_send_frame;
+ hdev->set_bdaddr = btmtk_set_bdaddr;
SET_HCIDEV_DEV(hdev, &serdev->dev);
hdev->manufacturer = 70;