RinCat / RTL88x2BU-Linux-Driver

Realtek RTL88x2BU WiFi USB Driver for Linux
GNU General Public License v2.0
1.19k stars 189 forks source link

RTL88x2BU-Linux-Driver fails to compile with Linux 6.2.0-36-generic from Ubuntu 23.04 #214

Open eurbah opened 8 months ago

eurbah commented 8 months ago

On Linux 6.2.0-36-generic from Ubuntu 23.04, kernel headers do NOT define REGULATORY_IGNORE_STALE_KICKOFF anymore.

Systematically :

/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.c: In function 'rtw_regd_init':
/var/lib/dkms/rtl88x2bu/5.13.1/build/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;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This issue seems to be corrected in the git source tree of RTL88x2BU-Linux-Driver.

Can you publish a new driver version which can be downloaded ?

Thank you in advance.

RinCat commented 8 months ago

This one has been fixed 4 months ago, please update your local source code.