diff --git a/package/kernel/rtw88-usb/Makefile b/package/kernel/rtw88-usb/Makefile index 7afa41c7f..4cb0a9d4f 100644 --- a/package/kernel/rtw88-usb/Makefile +++ b/package/kernel/rtw88-usb/Makefile @@ -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 diff --git a/package/kernel/rtw88-usb/patches/103-fix-rtw8703b-build.patch b/package/kernel/rtw88-usb/patches/103-fix-rtw8703b-build.patch new file mode 100644 index 000000000..feac44902 --- /dev/null +++ b/package/kernel/rtw88-usb/patches/103-fix-rtw8703b-build.patch @@ -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 +