Skip to content

Instantly share code, notes, and snippets.

@vejeta
Last active September 15, 2025 01:08
Show Gist options
  • Select an option

  • Save vejeta/98d50907a11e20a3d7517cc081002bae to your computer and use it in GitHub Desktop.

Select an option

Save vejeta/98d50907a11e20a3d7517cc081002bae to your computer and use it in GitHub Desktop.
Tentative fix for broadcom-sta-dkms 6.30.223.271-27 module for Linux 6.16.x
--- a/src/wl/sys/wl_linux.c
+++ b/src/wl/sys/wl_linux.c
@@ -2378,7 +2378,7 @@
) {
wl_timer_t *t =
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
- from_timer(t, tl, timer);
+ timer_container_of(t, tl, timer);
#else
(wl_timer_t *)data;
#endif
The fix is applying this patch:
by copying it to: /usr/src/broadcom-sta-6.30.223.271/patches and
adding the file name "broadcom-sta-fix-linux-6.16.x.patch"
to line 7 and 8 in /usr/src/broadcom-sta-6.30.223.271/dkms.conf
like:
PATCH=(broadcom-sta-fix-6.16.x.patch)
PATCH_MATCH="^(6\.16\.[0-9]+)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment