Skip to content

Instantly share code, notes, and snippets.

@vejeta
Created June 4, 2024 22:06
Show Gist options
  • Save vejeta/4c1cf3f7d5f92bf59a2f088b689940b8 to your computer and use it in GitHub Desktop.
Save vejeta/4c1cf3f7d5f92bf59a2f088b689940b8 to your computer and use it in GitHub Desktop.
Tentative fix for rtl8192eu-1.0 DKMS source for Linux 6.9 (Debian)
From: Juan Manuel Méndez Rey <vejeta@gmail.com>
Date: Mon, 04 June 2024 23:58:30 +0000
Subject: [PATCH] Tentative fix for rtl8192eu-1.0 DKMS source for Linux 6.9
--- a/os_dep/linux/ioctl_cfg80211.c 2024-06-04 22:53:56.300912246 +0200
+++ b/os_dep/linux/ioctl_cfg80211.c 2024-06-04 23:40:49.117002360 +0200
@@ -459,10 +459,10 @@
,0
#endif
,0
- #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0))
, false
#endif
- #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0))
, 0
#endif
);
@@ -477,7 +477,7 @@
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2) || (defined(RHEL_RELEASE_CODE) && RHEL_RELEASE_CODE >= 2306))
,0
#endif
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0))
, 0
#endif
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment