Source: broadcom-sta
Version: 6.30.223.271-26
Tags: patch

Ubuntu used an alternate, simpler patch for Linux 6.13 instead of
31-build-Provide-local-lib80211.h-header.patch. I am attaching it.
Maybe you'd want to switch to this one?

Ubuntu 25.04 is already using Linux 6.14 RC-something.

Thank you,
Jeremy Bícha
Remove lib80211.h for kernels >= 6.13

The header file net/lib80211.h has been removed in Linux 6.13.
See commit 02f220b5267042 wifi: ipw2x00/lib80211: move remaining lib80211 into libipw

Since the header is not used in the source code it is possible to remove it
for kernels >= 6.13.

Signed-off-by: Massimiliano Pellizzer <massimiliano.pelliz...@canonical.com>
---
 amd64/src/include/linuxver.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/amd64/src/include/linuxver.h
+++ b/amd64/src/include/linuxver.h
@@ -147,7 +147,7 @@
 #include <linux/sched.h>
 #endif
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0)
 #include <net/lib80211.h>
 #endif
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)

Reply via email to