-
Notifications
You must be signed in to change notification settings - Fork 1
/
patch.patch
29 lines (27 loc) · 976 Bytes
/
patch.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -Naur old/common/rtusb_dev_id.c new/common/rtusb_dev_id.c
--- old/common/rtusb_dev_id.c 2013-09-12 13:27:14.000000000 +0800
+++ new/common/rtusb_dev_id.c 2015-03-05 17:58:08.000000000 +0800
@@ -42,6 +42,11 @@
#ifdef MT7601U
{USB_DEVICE(0x148f,0x6370)}, /* Ralink 6370 */
{USB_DEVICE(0x148f,0x7601)}, /* MT 6370 */
+ {USB_DEVICE(0x148f,0x760b)}, /* 360 Wifi */
+ {USB_DEVICE(0x2955,0x1001)}, /* baidu Wifi */
+ {USB_DEVICE(0x2a5f,0x1000)}, /* Tencent Wifi */
+ {USB_DEVICE(0x2955,0x0001)}, /* XiaoDu Wifi */
+ {USB_DEVICE(0x2717,0x4106)}, /* Xiaomi Wifi */
#endif /* MT7601U */
{ }/* Terminating entry */
};
diff -Naur old/include/os/rt_linux.h new/include/os/rt_linux.h
--- old/include/os/rt_linux.h 2013-09-12 13:27:14.000000000 +0800
+++ new/include/os/rt_linux.h 2015-03-05 17:59:26.000000000 +0800
@@ -279,8 +279,8 @@
typedef struct _OS_FS_INFO_
{
- int fsuid;
- int fsgid;
+ kuid_t fsuid;
+ kgid_t fsgid;
mm_segment_t fs;
} OS_FS_INFO;