cilynx / rtl88x2bu

rtl88x2bu driver updated for current kernels.
http://www.wolfteck.com/2018/02/22/wsky_1200mbps_wireless_usb_wifi_adapter/
GNU General Public License v2.0
1.66k stars 320 forks source link

Error build for kernel 6.4.16 #255

Closed sibskull closed 1 year ago

sibskull commented 1 year ago

[00:00:06] /usr/src/RPM/BUILD/kernel-source-rtl88x2bu-5.8.7.1/os_dep/linux/ioctl_cfg80211.c:441:17: error: too few arguments to function 'cfg80211_ch_switch_started_notify'
[00:00:06]   441 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
[00:00:06]       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:06] In file included from /usr/src/RPM/BUILD/kernel-source-rtl88x2bu-5.8.7.1/include/osdep_service_linux.h:94,
[00:00:06]                  from /usr/src/RPM/BUILD/kernel-source-rtl88x2bu-5.8.7.1/include/osdep_service.h:53,
[00:00:06]                  from /usr/src/RPM/BUILD/kernel-source-rtl88x2bu-5.8.7.1/include/drv_types.h:27,
[00:00:06]                  from /usr/src/RPM/BUILD/kernel-source-rtl88x2bu-5.8.7.1/os_dep/linux/ioctl_cfg80211.c:17:
[00:00:06] ./include/net/cfg80211.h:8452:6: note: declared here
[00:00:06]  8452 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
[00:00:06]       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
sibskull commented 1 year ago

Sorry, I use old sources.