mac80211: use upstream patches for rtl8xxxu
[openwrt/staging/mkresin.git] / package / kernel / mac80211 / patches / 653-0001-rtl8xxxu-Mark-0x20f4-0x648b-as-tested.patch
1 From b81669b9e0b4864f59421e7681512731fae01ab9 Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Fri, 19 Aug 2016 17:46:23 -0400
4 Subject: [PATCH] rtl8xxxu: Mark 0x20f4:0x648b as tested
5
6 Successfully tested by Jocelyn Mayer
7
8 Reported-by: J. Mayer <l_indien@magic.fr>
9 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
10 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
11 ---
12 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 9 +++++++--
13 1 file changed, 7 insertions(+), 2 deletions(-)
14
15 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
16 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
17 @@ -5971,6 +5971,10 @@ static int rtl8xxxu_probe(struct usb_int
18 if (id->idProduct == 0x1004)
19 untested = 0;
20 break;
21 + case 0x20f4:
22 + if (id->idProduct == 0x648b)
23 + untested = 0;
24 + break;
25 default:
26 break;
27 }
28 @@ -6140,6 +6144,9 @@ static struct usb_device_id dev_table[]
29 /* Tested by Andrea Merello */
30 {USB_DEVICE_AND_INTERFACE_INFO(0x050d, 0x1004, 0xff, 0xff, 0xff),
31 .driver_info = (unsigned long)&rtl8192cu_fops},
32 +/* Tested by Jocelyn Mayer */
33 +{USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x648b, 0xff, 0xff, 0xff),
34 + .driver_info = (unsigned long)&rtl8192cu_fops},
35 /* Currently untested 8188 series devices */
36 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8191, 0xff, 0xff, 0xff),
37 .driver_info = (unsigned long)&rtl8192cu_fops},
38 @@ -6199,8 +6206,6 @@ static struct usb_device_id dev_table[]
39 .driver_info = (unsigned long)&rtl8192cu_fops},
40 {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xed17, 0xff, 0xff, 0xff),
41 .driver_info = (unsigned long)&rtl8192cu_fops},
42 -{USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x648b, 0xff, 0xff, 0xff),
43 - .driver_info = (unsigned long)&rtl8192cu_fops},
44 {USB_DEVICE_AND_INTERFACE_INFO(0x4855, 0x0090, 0xff, 0xff, 0xff),
45 .driver_info = (unsigned long)&rtl8192cu_fops},
46 {USB_DEVICE_AND_INTERFACE_INFO(0x4856, 0x0091, 0xff, 0xff, 0xff),