rtl8852au icon indicating copy to clipboard operation
rtl8852au copied to clipboard

Build on openSUSE kernel:stable

Open Sauerlandlinux opened this issue 10 months ago • 7 comments

Maybe a wrong kernel-Version in your last commit, should it not be:

`diff -rNu rtl8852au/os_dep/linux/ioctl_cfg80211.c rtl8852aun/os_dep/linux/ioctl_cfg80211.c --- rtl8852au/os_dep/linux/ioctl_cfg80211.c 2024-04-02 18:09:10.053185383 +0200 +++ rtl8852aun/os_dep/linux/ioctl_cfg80211.c 2024-04-02 18:53:24.749996657 +0200 @@ -488,7 +488,7 @@ if (!rtw_cfg80211_allow_ch_switch_notify(adapter)) goto exit;

-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2)) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 9, 0) cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0); #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2)) ` Otherwise I get an error in building for kernel:stable and Tumbleweed:

`[ 60s] /home/abuild/rpmbuild/BUILD/rtl8852au-1.15.0.1~16g912d3ca/obj/default/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:

[ 60s] /home/abuild/rpmbuild/BUILD/rtl8852au-1.15.0.1~16g912d3ca/obj/default/os_dep/linux/ioctl_cfg80211.c:492:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’

[ 60s] 492 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);

[ 60s] | ^~~~~~~~~~~~~~~~~~~~~~~~~` For example: https://build.opensuse.org/package/live_build_log/home:Sauerland/rtl8852au/Kernel_stable/x86_64

Thanks Stephan

Sauerlandlinux avatar Apr 02 '24 17:04 Sauerlandlinux