rtl8xxxu: add support for rtl8188eu
[openwrt/staging/rmilecki.git] / package / kernel / mac80211 / patches / 652-0051-rtl8xxxu-Add-rtl8188etv-to-USB-device-list.patch
1 From e234d016528d2c22cca59faf87e675f8b72b8a83 Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Fri, 26 Aug 2016 10:28:45 -0400
4 Subject: [PATCH] rtl8xxxu: Add rtl8188etv to USB device list
5
6 Hans de Goede reported this works for him with two different tablets.
7
8 Reported-by: Hans de Goede <hdegoede@redhat.com>
9 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
10 ---
11 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 3 +++
12 1 file changed, 3 insertions(+)
13
14 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
15 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
16 @@ -6256,6 +6256,9 @@ static struct usb_device_id dev_table[]
17 #ifdef CPTCFG_RTL8XXXU_UNTESTED
18 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8179, 0xff, 0xff, 0xff),
19 .driver_info = (unsigned long)&rtl8188eu_fops},
20 +/* Tested by Hans de Goede - rtl8188etv */
21 +{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x0179, 0xff, 0xff, 0xff),
22 + .driver_info = (unsigned long)&rtl8188eu_fops},
23 /* Still supported by rtlwifi */
24 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
25 .driver_info = (unsigned long)&rtl8192cu_fops},