mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
rtw88-usb: fix rtw8703b build with kernel 6.6+
This commit is contained in:
parent
297d4adf02
commit
a75453bbc9
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rtw88-usb
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_DATE:=2024-04-10
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/rtw8703b.c
|
||||
+++ b/rtw8703b.c
|
||||
@@ -655,7 +655,7 @@
|
||||
dm_info->txagc_remnant_ofdm = 0;
|
||||
}
|
||||
|
||||
-#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0) || defined(BUILD_OPENWRT)
|
||||
#define FIELD_PREP_CONST FIELD_PREP
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user