lede/package/kernel/rtw88-usb/patches/103-fix-rtw8703b-build.patch
2024-09-25 15:39:42 +08:00

12 lines
267 B
Diff

--- 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