rtl8xxxu: add support for rtl8188eu
[openwrt/staging/dedeckeh.git] / package / kernel / mac80211 / patches / 651-0004-rtl8xxxu-Add-TP-Link-TL-WN823N-v2-to-list-of-support.patch
1 From 32e8292a3222036b934aeebe5dbf13c729dc3dfe Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Wed, 20 Jul 2016 13:18:39 -0400
4 Subject: [PATCH] rtl8xxxu: Add TP-Link TL-WN823N v2 to list of supported
5 devices
6
7 This is an rtl8192eu based dongle (the v1 is an rtl8192cu). Reported
8 and tested by Myckel Habets.
9
10 Reported-by: Myckel Habets <myckel@sdf.lonestar.org>
11 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
12 ---
13 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 7 +++++++
14 1 file changed, 7 insertions(+)
15
16 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
17 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
18 @@ -5979,6 +5979,10 @@ static int rtl8xxxu_probe(struct usb_int
19 if (id->idProduct == 0x3308)
20 untested = 0;
21 break;
22 + case 0x2357:
23 + if (id->idProduct == 0x0109)
24 + untested = 0;
25 + break;
26 default:
27 break;
28 }
29 @@ -6146,6 +6150,9 @@ static struct usb_device_id dev_table[]
30 .driver_info = (unsigned long)&rtl8723au_fops},
31 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818b, 0xff, 0xff, 0xff),
32 .driver_info = (unsigned long)&rtl8192eu_fops},
33 +/* Tested by Myckel Habets */
34 +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0109, 0xff, 0xff, 0xff),
35 + .driver_info = (unsigned long)&rtl8192eu_fops},
36 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0xb720, 0xff, 0xff, 0xff),
37 .driver_info = (unsigned long)&rtl8723bu_fops},
38 #ifdef CPTCFG_RTL8XXXU_UNTESTED