ivanovborislav / rtl8821au

Realtek RTL8821AU v5.12.5.2 (2021-07-08) Wireless Lan Driver for Linux
GNU General Public License v2.0
26 stars 11 forks source link

Problem with Kernel 6.1.39 #3

Closed Stanislav-Lapata closed 1 year ago

Stanislav-Lapata commented 1 year ago

Hi I got error when try to install drivers on NixOS

/build/source/os_dep/linux/wifi_regd.c: In function 'rtw_regd_init':
/build/source/os_dep/linux/wifi_regd.c:409:36: error: 'REGULATORY_IGNORE_STALE_KICKOFF' undeclared (first use in this function)
  409 |         wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I think I have found something close https://github.com/morrownr/88x2bu-20210702/issues/165

fAntel commented 10 months ago

Hi. I've encountered the same error recently when updated Xubuntu to 23.10 and got kernel version 6.5.0-10-generic with the update. Fix from https://github.com/morrownr/88x2bu-20210702/issues/165#issuecomment-1730133899 works for me.