ivanovborislav / rtl8188eu

Realtek RTL8188EU v5.13.3 (2021-06-15) Wireless Lan Driver for Linux
GNU General Public License v2.0
113 stars 29 forks source link

Restrict Kernel Version Check to Below 6.1.39 #22

Open thienandangthanh opened 6 months ago

thienandangthanh commented 6 months ago

This commit modifies the kernel version check in the source code to ensure compatibility with kernel versions below 6.1.39. The change was necessary due to the removal of the REGULATORY_IGNORE_STALE_KICKOFF flag in recent kernel versions, which caused compilation issues. The modified check now correctly excludes kernel versions 6.1.39 and above, preventing these issues.

Reference: https://github.com/morrownr/88x2bu-20210702/issues/165#issuecomment-1730133899

Fix #20 Fix #23