From f03f0f54b5de9211b5c1c3de14260665f81031b5 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 25 Mar 2025 01:40:34 +0800 Subject: [PATCH] mac80211: fix build on linux kernel 5.4.291+ --- .../992-fix-tasklet_setup-build-kernel-5.4.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/mac80211/patches/build/992-fix-tasklet_setup-build-kernel-5.4.patch diff --git a/package/kernel/mac80211/patches/build/992-fix-tasklet_setup-build-kernel-5.4.patch b/package/kernel/mac80211/patches/build/992-fix-tasklet_setup-build-kernel-5.4.patch new file mode 100644 index 000000000..bb1e79dbe --- /dev/null +++ b/package/kernel/mac80211/patches/build/992-fix-tasklet_setup-build-kernel-5.4.patch @@ -0,0 +1,11 @@ +--- a/backport-include/linux/interrupt.h ++++ b/backport-include/linux/interrupt.h +@@ -43,7 +43,7 @@ + + #endif + +-#if LINUX_VERSION_IS_LESS(5,9,0) ++#if LINUX_VERSION_IS_LESS(5,4,291) + + static inline void + tasklet_setup(struct tasklet_struct *t,