[SOLVED] RTL wifi chips vs. 5.15 kernel -- possible fix
by JayByrd from LinuxQuestions.org on (#5RJSX)
As reported in the "latest kernel" thread, upgrading to kernel 5.15 leads to build breakage on RTL (and possibly other) out-of-tree drivers. At any rate, it certainly broke the build of my rtl8192eu, which had been working swimmingly on 5.14.
So, I've attached a quick and dirty fix for anyone who's interested. I basically just add a few lines to test for the 5.15 kernel, and if found, just ignore all "ipx" code in the original source.
If you are using an RTL other than rtl8192eu, I'm sure the same idea will apply. (It may be as simple as modifying some of the line numbers in my patch.)
NOTE: while this patch did allow me to successfully compile the RTL kernel module, I have yet to test the performance on actual hardware... Will report back once I get a chance...
Attached Files
So, I've attached a quick and dirty fix for anyone who's interested. I basically just add a few lines to test for the 5.15 kernel, and if found, just ignore all "ipx" code in the original source.
If you are using an RTL other than rtl8192eu, I'm sure the same idea will apply. (It may be as simple as modifying some of the line numbers in my patch.)
NOTE: while this patch did allow me to successfully compile the RTL kernel module, I have yet to test the performance on actual hardware... Will report back once I get a chance...
Attached Files
0002-ipx-5.15.jay.patch.txt (854 Bytes) |