mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 01:21:34 +00:00
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:
parent
d4425c0b8f
commit
2092b8d80d
@ -6955,6 +6955,9 @@ static void rtw_get_chbwoff_from_cfg80211_chan_def(
|
|||||||
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) */
|
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) */
|
||||||
|
|
||||||
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
|
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))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||||
, struct cfg80211_chan_def *chandef
|
, struct cfg80211_chan_def *chandef
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user