[PATCH] mac80211: remove bad include from rtl8723bs

Rosen Penev rosenp at gmail.com
Mon Jul 20 18:33:24 EDT 2020


This define is not only useless, it breaks the build as the little
endian header always gets included, which subsequently errors.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/kernel/mac80211/Makefile                       |  2 +-
 .../mac80211/patches/build/070-no-rtw-byteorder.patch  | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 package/kernel/mac80211/patches/build/070-no-rtw-byteorder.patch

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 5745839d15..9f80a1f1f4 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=mac80211
 
 PKG_VERSION:=5.7-rc3-1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.7-rc3/
 PKG_HASH:=7bc785c932f011c65adb75ffa746be2fa90b16ab61a6e1fd883acee403ffeed1
 
diff --git a/package/kernel/mac80211/patches/build/070-no-rtw-byteorder.patch b/package/kernel/mac80211/patches/build/070-no-rtw-byteorder.patch
new file mode 100644
index 0000000000..6e2e832547
--- /dev/null
+++ b/package/kernel/mac80211/patches/build/070-no-rtw-byteorder.patch
@@ -0,0 +1,10 @@
+--- a/drivers/staging/rtl8723bs/include/drv_types.h
++++ b/drivers/staging/rtl8723bs/include/drv_types.h
+@@ -19,7 +19,6 @@
+ #include <autoconf.h>
+ #include <basic_types.h>
+ #include <osdep_service.h>
+-#include <rtw_byteorder.h>
+ #include <wlan_bssdef.h>
+ #include <wifi.h>
+ #include <ieee80211.h>
-- 
2.26.2




More information about the openwrt-devel mailing list