Closed aquilarubra closed 10 months ago
os_dep/linux/wifi_regd.c
Comment out this and it compiles.
/*
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
*/
I saw it commented out in other similar drivers.
By the way, 6Ghz still does not work.
That I cannot help you with as I have no hardware.
I got back my dongle and tested the new fix. It won't compile.
usr/src/rtw8852cu/os_dep/linux/wifi_regd.c: In function ‘rtw_regd_init’: /usr/src/rtw8852cu/os_dep/linux/wifi_regd.c:1271:36: error: ‘REGULATORY_IGNORE_STALE_KICKOFF’ undeclared (first use in this function) 1271 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF; | ^
~~~~~~/usr/src/rtw8852cu/os_dep/linux/wifi_regd.c:1271:36: note: each undeclared identifier is reported only once for each function it appears in make[2]: [scripts/Makefile.build:252: /usr/src/rtw8852cu/os_dep/linux/wifi_regd.o] Error 1 make[1]: [Makefile:2032: /usr/src/rtw8852cu] Error 2 make: *** [Makefile:705: modules] Error 2