Closed dhuertas closed 2 years ago
Bon dia Daniel.
The change fix the compilation for CentOS and similar but broke the compilations on distributions that use mainline kernels like Ubuntu/Debian based. You must define an additional variable for CentOS distributions
#ifndef RHEL_RELEASE_CODE
#define RHEL_RELEASE_VERSION(a,b) (((a) << 8) + (b))
#define RHEL_RELEASE_CODE 0
#endif
Use this patch as reference. https://github.com/Mange/rtl8192eu-linux-driver/pull/232
Note. I'm against this modifications, keep compatibility with distribution backports is a pain. Please read the discussion at https://github.com/aircrack-ng/rtl8812au/issues/542 and consider using a different kernel as suggested at https://github.com/aircrack-ng/rtl8812au/issues/542#issuecomment-587775745
Hola Carlos.
Thanks for your feedback, I've added the variable now (silly me).
I understand your point. In a different situation I would def consider updating to a newer kernel, but I'm interested in testing a few things with the default one. Having the wifi dongle running was sort of a (rather short) side quest.
I'm closing the PR and will keep the changes in my fork.
Cheers!
Fix dkms compilation for CentOS 9 Stream.
Additional details: