summarylogtreecommitdiffstats
path: root/001-MT7601u-Linux-4.x.patch
diff options
context:
space:
mode:
authorindra17r2018-06-21 00:04:15 +0700
committerindra17r2018-06-21 00:04:15 +0700
commit656458ba213c77cfa385621b7503952f3a162996 (patch)
treec87990cdcc9885f55ea457766dff71ccf26fca05 /001-MT7601u-Linux-4.x.patch
parentbe581990c532fa43af623b9eb75b566e417c1c73 (diff)
downloadaur-mt7601u-ap-dkms.tar.gz
fix error on reinstall/upgrade
Diffstat (limited to '001-MT7601u-Linux-4.x.patch')
-rw-r--r--001-MT7601u-Linux-4.x.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/001-MT7601u-Linux-4.x.patch b/001-MT7601u-Linux-4.x.patch
index 61ccc2edc9a..c22bd30b48e 100644
--- a/001-MT7601u-Linux-4.x.patch
+++ b/001-MT7601u-Linux-4.x.patch
@@ -1,6 +1,6 @@
-diff -ru MT7601u-2/src/include/os/rt_linux.h MT7601u/src/include/os/rt_linux.h
---- MT7601u-2/src/include/os/rt_linux.h 2018-06-17 19:34:56.006528978 +0700
-+++ MT7601u/src/include/os/rt_linux.h 2018-06-18 04:09:48.253593046 +0700
+diff -ru a/src/include/os/rt_linux.h b/src/include/os/rt_linux.h
+--- a/src/include/os/rt_linux.h
++++ b/src/include/os/rt_linux.h
@@ -83,6 +83,8 @@
#include <linux/kthread.h>
#endif /* KTHREAD_SUPPORT */
@@ -10,9 +10,9 @@ diff -ru MT7601u-2/src/include/os/rt_linux.h MT7601u/src/include/os/rt_linux.h
#include "os/rt_linux_cmm.h"
-diff -ru MT7601u-2/src/os/linux/rt_linux.c MT7601u/src/os/linux/rt_linux.c
---- MT7601u-2/src/os/linux/rt_linux.c 2018-06-17 19:34:56.026529050 +0700
-+++ MT7601u/src/os/linux/rt_linux.c 2018-06-18 05:15:53.294949852 +0700
+diff -ru a/src/os/linux/rt_linux.c b/src/os/linux/rt_linux.c
+--- a/src/os/linux/rt_linux.c
++++ b/src/os/linux/rt_linux.c
@@ -1165,7 +1165,7 @@
/* The object must have a read method */
if (osfd->f_op /*&& osfd->f_op->read*/) {