From b36c8992955fb52b4440b0a179e4d3b47fadec7c Mon Sep 17 00:00:00 2001 From: Viacheslav Bocharov Date: Thu, 20 Aug 2026 13:57:01 +0300 Subject: [PATCH] fix: set_monitor_channel gained net_device in 6.12.101 v6.13 API change backported to linux-6.12.y (4dae80dd259b); lower the gate from 6.13.0 to 6.12.101. --- os_dep/linux/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index cda99ea..a0b3e44 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -6613,7 +6613,7 @@ 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)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 101)) /* v6.13 API, backported to 6.12.101 */ , struct net_device *dev , struct cfg80211_chan_def *chandef #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))