Last active
August 29, 2015 14:13
-
-
Save pmalek/9dbc572b5b8b8eb51a48 to your computer and use it in GitHub Desktop.
ralink mt7601 linux driver patch. Take a look into README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch may not necessarily work - this is a better version at launchpad by Victor Martinez https://code.launchpad.net/~victored/+junk/mt7601U-linux-driver-64bit | |
after: | |
sudo make install, | |
do | |
sudo modprobe mt7601Usta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- include/os/rt_linux.h 2013-09-12 13:27:14.000000000 +0800 | |
+++ include/os/rt_linux.h 2014-03-23 11:45:03.907628847 +0800 | |
@@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD; | |
typedef struct _OS_FS_INFO_ | |
{ | |
- int fsuid; | |
- int fsgid; | |
+ kuid_t fsuid; | |
+ kgid_t fsgid; | |
mm_segment_t fs; | |
} OS_FS_INFO; | |
--- sta/sta_cfg.c 2013-09-12 13:27:14.000000000 +0800 | |
+++ sta/sta_cfg.c 2014-12-15 11:49:50.747843025 +0800 | |
@@ -5763,7 +5763,10 @@ | |
wrq->u.data.length = strlen(extra) + 1; /* 1: size of '\0' */ | |
break; | |
case SHOW_DRVIER_VERION: | |
+#pragma GCC diagnostic push | |
+#pragma GCC diagnostic ignored "-Wdate-time" | |
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ ); | |
+#pragma GCC diagnostic pop | |
wrq->u.data.length = strlen(extra) + 1; /* 1: size of '\0' */ | |
break; | |
#ifdef DOT11_N_SUPPORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment