summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btmtksdio.c
diff options
context:
space:
mode:
authorŁukasz Bartosik <lb@semihalf.com>2021-12-01 23:13:51 +0300
committerMarcel Holtmann <marcel@holtmann.org>2021-12-07 19:05:51 +0300
commit630491ffd53cd2237445bd058e8d95662666947b (patch)
treead608e26f718a9c5b5618c7702de0a06480066b7 /drivers/bluetooth/btmtksdio.c
parente8c42585dc6032624a9728d8cf99d974e931d4bc (diff)
downloadlinux-630491ffd53cd2237445bd058e8d95662666947b.tar.xz
Bluetooth: btmtksdio: enable msft opcode
Enable msft opcode for mt7921 chip. Signed-off-by: Łukasz Bartosik <lb@semihalf.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtksdio.c')
-rw-r--r--drivers/bluetooth/btmtksdio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 143404745240..3a12ea0cf285 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -791,6 +791,8 @@ static int mt79xx_setup(struct hci_dev *hdev, const char *fwname)
return err;
}
+ hci_set_msft_opcode(hdev, 0xFD30);
+
return err;
}