Commit 7f6a750a authored by Archie Pusaka's avatar Archie Pusaka Committed by Marcel Holtmann

Bluetooth: btrtl: Set MSFT opcode for RTL8852

RTL8852 support MSFT HCI extension, therefore set the proper MSFT
opcode.
Signed-off-by: default avatarArchie Pusaka <apusaka@chromium.org>
Reviewed-by: default avatarMiao-chen Chou <mcchou@chromium.org>
Reviewed-by: default avatarHilda Wu <hildawu@realtek.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 9af41761
...@@ -681,11 +681,15 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, ...@@ -681,11 +681,15 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
} }
} }
/* RTL8822CE supports the Microsoft vendor extension and uses 0xFCF0 /* The following chips supports the Microsoft vendor extension,
* for VsMsftOpCode. * therefore set the corresponding VsMsftOpCode.
*/ */
if (lmp_subver == RTL_ROM_LMP_8822B) switch (lmp_subver) {
case RTL_ROM_LMP_8822B:
case RTL_ROM_LMP_8852A:
hci_set_msft_opcode(hdev, 0xFCF0); hci_set_msft_opcode(hdev, 0xFCF0);
break;
}
return btrtl_dev; return btrtl_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment