Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict Kernel Version Check to Below 6.1.39 #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thienandangthanh
Copy link

@thienandangthanh thienandangthanh commented Dec 15, 2023

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: morrownr/88x2bu-20210702#165 (comment)

Fix #20
Fix #23

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: morrownr/88x2bu-20210702#165 (comment)
Signed-off-by: thienandangthanh <thienandangthanh@gmail.com>
@Godsman27
Copy link

This was the fix i was looking for, i couldnt compile this driver for the 6.1.102 without the extra version check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile fails on armv7l Compilation error
2 participants