chrona-packages/main/broadcom-wl/patches/018-linux613.patch
Şahan Yılmaz 31810c0603 fix
2025-04-23 04:51:44 +03:00

32 lines
1.1 KiB
Diff

From 5788a19e88aac78e6b2ec8bef7cb094fc14cfbf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com>
Date: Sat, 12 Oct 2024 11:54:40 +0000
Subject: [PATCH] Tentative patch for broadcom-wl 6.30.223.271 driver for Linux
6.13-rc1
The net/lib80211.h header has been removed by commit
"wifi: ipw2x00/lib80211: move remaining lib80211 into libipw"
(Johannes Berg, 7 Oct 2024).
The header does not appear to be actually used anywhere, so remove it.
#include <asm/irq.h>
#include <asm/pgtable.h>
---
src/include/linuxver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/linuxver.h b/src/include/linuxver.h
index b05bc32..06e32eb 100644
--- a/src/include/linuxver.h
+++ b/src/include/linuxver.h
@@ -147,7 +147,7 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs *ptregs);
#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)
--
2.47.0