svpcom / rtl8812au

Patched rtl88xxau drivers for wfb-ng
https://github.com/svpcom/wfb-ng
GNU General Public License v2.0
103 stars 64 forks source link

Build error in get_overridden_tx_power_index #33

Closed JohnDGodwin closed 8 months ago

JohnDGodwin commented 8 months ago

/var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_cfg80211.c:3736:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
error, forbidden warning:ioctl_cfg80211.c:3736
 3736 |         u8 override = get_overridden_tx_power_index(0);
      |         ^~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/rtl8812au/5.2.20.2/build/os_dep/linux/ioctl_cfg80211.o] Error 1```
svpcom commented 8 months ago

@JohnDGodwin Fix above should resolve it

JohnDGodwin commented 8 months ago

Confirmed working, thanks!