mirror of https://github.com/aircrack-ng/rtl8812au
Compare commits
3 Commits
81be2f4681
...
4a983e47da
Author | SHA1 | Date |
---|---|---|
Christian Bremvåg | 4a983e47da | |
Christian Sarre | 9d4d3f52a2 | |
Christian Sarre | d8ad927155 |
|
@ -396,7 +396,15 @@ static void _rtw_regd_init_wiphy(struct rtw_regulatory *reg, struct wiphy *wiphy
|
|||
wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS;
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 5, 0))
|
||||
/*
|
||||
* Ubuntu backported a specific upstream change to kernel 6.2 while others skipped 6.2 altogether.
|
||||
* If build fails on kernel 6.2.x and you're not using Ubuntu,
|
||||
* try changing the version "(6, 3, 0)" below to "(6, 2, 0)".
|
||||
*/
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39)) \
|
||||
|| (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 13)) \
|
||||
|| (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 4))
|
||||
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue