aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/rtl8812au-ct/patches
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2018-12-13 23:22:32 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2018-12-16 00:57:19 +0100
commitd8f861f40818fae0b4e712cce31f2399ab051868 (patch)
treea2f746cbedd528ea5fedf45812bf0f5194afaec1 /package/kernel/rtl8812au-ct/patches
parentcb4d00d1841ef6269114f2bd3880800dbdfba3b1 (diff)
downloadupstream-d8f861f40818fae0b4e712cce31f2399ab051868.tar.gz
upstream-d8f861f40818fae0b4e712cce31f2399ab051868.tar.bz2
upstream-d8f861f40818fae0b4e712cce31f2399ab051868.zip
rtl8812au: Add out-of-tree driver.
Use a forked version of the rtl8812au driver that works better with OpenWRT (fix compile bugs, fix phy MAC address, etc) Signed-off-by: Ben Greear <greearb@candelatech.com> [update to 2018-11-16, replace rtw_byteorder.h, rename folder] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/rtl8812au-ct/patches')
-rw-r--r--package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch b/package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch
new file mode 100644
index 0000000000..dd42b12438
--- /dev/null
+++ b/package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch
@@ -0,0 +1,15 @@
+Fix compile problem when rtw_byteorder.h and asm/byteorder.h gets
+included in addition for example indirectly, do not use realtek own copy
+of the byteorder headers.
+
+--- a/include/drv_types.h
++++ b/include/drv_types.h
+@@ -30,7 +30,7 @@
+ #include <drv_conf.h>
+ #include <basic_types.h>
+ #include <osdep_service.h>
+-#include <rtw_byteorder.h>
++#include <asm/byteorder.h>
+ #include <wlan_bssdef.h>
+ #include <wifi.h>
+ #include <ieee80211.h>