rtl88x2bu
rtl88x2bu copied to clipboard
Compilation error on last ubuntu update
CC [M] /mnt/.../rtl88x2bu/rtl88x2bu/os_dep/linux/wifi_regd.o /mnt/.../rtl88x2bu/rtl88x2bu/os_dep/linux/wifi_regd.c: In function ‘rtw_regd_init’: /mnt/.../rtl88x2bu/rtl88x2bu/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/.../rtl88x2bu/os_dep/linux/wifi_regd.c:409:36: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [scripts/Makefile.build:260: /mnt/.../rtl88x2bu/rtl88x2bu/os_dep/linux/wifi_regd.o] Error 1 make[1]: *** [Makefile:2026: /mnt/.../rtl88x2bu/rtl88x2bu] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-36-generic' make: *** [Makefile:2479: modules] Error 2
The above compilation error happened on last ubuntu 22.04 update. It was compiled successfully a month ago. Please, fix this issue!