Linux 6.13 compat: cfg80211_rtw_set_monitor_channel

* Update ioctl_cfg80211.c

Add additional argument to cfg80211_rtw_set_monitor_channel
In Linux Kernel commit 9c4f83092775 a new argument is introduced to
cfg80211_rtw_set_monitor_channel.

Co-authored-by: Rin Cat (鈴猫) <rincat@rincat.dev>
This commit is contained in:
Rin Cat (鈴猫) 2024-12-01 22:57:43 -05:00
parent d4425c0b8f
commit 2092b8d80d
Signed by: RinCat
GPG Key ID: 4B857E8B2AFC09BC

View File

@ -6955,6 +6955,9 @@ static void rtw_get_chbwoff_from_cfg80211_chan_def(
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) */
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
, struct net_device *dev
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
, struct cfg80211_chan_def *chandef
#else