[linux-oem][PATCH 5/8] UBUNTU: SAUCE: Make rtl8821ce-bt work with 0bda:b00a only
Wen-chien Jesse Sung
jesse.sung at canonical.com
Thu Jan 11 12:17:23 UTC 2018
BugLink: https://launchpad.net/bugs/1742613
Signed-off-by: Wen-chien Jesse Sung <jesse.sung at canonical.com>
---
ubuntu/rtl8821ce-bt/rtk_bt.c | 21 ++-------------------
1 file changed, 2 insertions(+), 19 deletions(-)
diff --git a/ubuntu/rtl8821ce-bt/rtk_bt.c b/ubuntu/rtl8821ce-bt/rtk_bt.c
index cead9ee..1c7f86d 100644
--- a/ubuntu/rtl8821ce-bt/rtk_bt.c
+++ b/ubuntu/rtl8821ce-bt/rtk_bt.c
@@ -49,26 +49,9 @@ static bool reset = 0;
static struct usb_driver btusb_driver;
static struct usb_device_id btusb_table[] = {
{
- .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
- USB_DEVICE_ID_MATCH_INT_INFO,
+ .match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT,
.idVendor = 0x0bda,
- .bInterfaceClass = 0xe0,
- .bInterfaceSubClass = 0x01,
- .bInterfaceProtocol = 0x01
- }, {
- .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
- USB_DEVICE_ID_MATCH_INT_INFO,
- .idVendor = 0x13d3,
- .bInterfaceClass = 0xe0,
- .bInterfaceSubClass = 0x01,
- .bInterfaceProtocol = 0x01
- }, {
- .match_flags = USB_DEVICE_ID_MATCH_VENDOR |
- USB_DEVICE_ID_MATCH_INT_INFO,
- .idVendor = 0x0489,
- .bInterfaceClass = 0xe0,
- .bInterfaceSubClass = 0x01,
- .bInterfaceProtocol = 0x01
+ .idProduct = 0xb00a,
}, { }
};
--
2.7.4
More information about the kernel-team
mailing list