package/devel/binutils: Update to 2.27
[openwrt/staging/yousong.git] / package / kernel / mac80211 / patches / 653-0004-rtl8xxxu-Add-TP-Link-TL-WN823N-v2-to-list-of-support.patch
1 From 690a6d268bdf85f8d233823a18d3200b99e5568d Mon Sep 17 00:00:00 2001
2 From: Jes Sorensen <Jes.Sorensen@redhat.com>
3 Date: Fri, 19 Aug 2016 17:46:26 -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 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
13 ---
14 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 7 +++++++
15 1 file changed, 7 insertions(+)
16
17 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
18 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
19 @@ -5979,6 +5979,10 @@ static int rtl8xxxu_probe(struct usb_int
20 if (id->idProduct == 0x3308)
21 untested = 0;
22 break;
23 + case 0x2357:
24 + if (id->idProduct == 0x0109)
25 + untested = 0;
26 + break;
27 default:
28 break;
29 }
30 @@ -6146,6 +6150,9 @@ static struct usb_device_id dev_table[]
31 .driver_info = (unsigned long)&rtl8723au_fops},
32 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818b, 0xff, 0xff, 0xff),
33 .driver_info = (unsigned long)&rtl8192eu_fops},
34 +/* Tested by Myckel Habets */
35 +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0109, 0xff, 0xff, 0xff),
36 + .driver_info = (unsigned long)&rtl8192eu_fops},
37 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0xb720, 0xff, 0xff, 0xff),
38 .driver_info = (unsigned long)&rtl8723bu_fops},
39 #ifdef CPTCFG_RTL8XXXU_UNTESTED