lwfinger / rtw8852cu

GNU General Public License v2.0
26 stars 17 forks source link

Is it a mistake? #9

Closed liulitchi closed 5 months ago

liulitchi commented 5 months ago

I am not know about compile, the 273 line in ioctl_cfg80211.c: cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0); raised an error: too few arguments to function ‘cfg80211_ch_switch_notify’. It semms need a zero : cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);

lwfinger commented 5 months ago

It is not a mistake. It is a kernel API change. I just pushed the fixes for a "standard" kernel. If you still get an error, it is likely that your distro has backported one or more of the API changes to an earlier kernel. I chose not to fix those problems.