mirobiala / rtl88x2bu-cl

rtl88x2bu package for OpenWRT
GNU General Public License v2.0
21 stars 2 forks source link

Not compiling on 23.05.4 #11

Closed ertdfgoiu closed 2 months ago

ertdfgoiu commented 2 months ago
  CC [M]  /home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/os_dep/linux/ioctl_cfg80211.o
/home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify':
/home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/os_dep/linux/ioctl_cfg80211.c:461:17: error: too few arguments to function 'cfg80211_ch_switch_started_notify'
  461 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/include/osdep_service_linux.h:98,
                 from /home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/include/osdep_service.h:54,
                 from /home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/include/drv_types.h:27,
                 from /home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/os_dep/linux/ioctl_cfg80211.c:17:
/home/liya/openwrt/staging_dir/target-x86_64_musl/usr/include/mac80211/net/cfg80211.h:8495:6: note: declared here
 8495 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/liya/openwrt/build_dir/target-x86_64_musl/linux-x86_64/rtl88x2bu-cl-2024-03-28-358f13d1/os_dep/linux/ioctl_cfg80211.c:486:9: error: too few arguments to function 'cfg80211_ch_switch_notify'
  486 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/liya/openwrt/staging_dir/target-x86_64_musl/usr/include/mac80211/net/cfg80211.h:8478:6: note: declared here
 8478 | void cfg80211_ch_switch_notify(struct net_device *dev,
mirobiala commented 2 months ago

Fixed in latest patch release v1.1.3.