aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/rtl8812au-ct/patches
diff options
context:
space:
mode:
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>