Package: broadcom-sta-dkms Version: 6.30.223.271-241 The package fails to compile with the new kernel 6.12.1
The fix is applying this patch: https://gist.github.com/vejeta/a44e792f37811f7f6e47445b03760d87 by copying it to: /usr/src/broadcom-sta-6.30.223.271/patches and adding the file name "broadcom-sta-fix-linux-6.12.1.patch" to line 7 in /usr/src/broadcom-sta-6.30.223.271/dkms.conf like: PATCH=(broadcom-sta-fix-linux-6.12.1.patch) and then proceed installing the kernel as usual.