Article 5RJSX [SOLVED] RTL wifi chips vs. 5.15 kernel -- possible fix

[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
txt.gif0002-ipx-5.15.jay.patch.txt (854 Bytes)
latest?d=yIl2AUoC8zA latest?i=RsgdfOCOtD8:4mS1ctA3BmI:F7zBnMy latest?i=RsgdfOCOtD8:4mS1ctA3BmI:V_sGLiP latest?d=qj6IDK7rITs latest?i=RsgdfOCOtD8:4mS1ctA3BmI:gIN9vFwRsgdfOCOtD8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments