Bluetooth: btusb: Support public address configuration for MediaTek Chip.
authormark-yw.chen <mark-yw.chen@mediatek.com>
Wed, 1 Sep 2021 03:32:25 +0000 (11:32 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 1 Sep 2021 05:37:21 +0000 (07:37 +0200)
commit5a87679ffd4436474cf9de1a7df9406906fdf148
tree268d01caa9e6e6c97ff43ac6c3f6230b9ad6945f
parent1bff51ea59a9afb67d2dd78518ab0582a54a472c
Bluetooth: btusb: Support public address configuration for MediaTek Chip.

The MediaTek chip support vendor specific HCI command(0xfc1a) to
change the public address. Add hdev->set_bdaddr handler for MediaTek
Chip. After doing a power cycle or MediaTek Bluetooth reset, BD_ADDR
will bring back the original one.

Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c