Skip to content

Commit b9f21a6

Browse files
committed
Adapt to Kernel 6.13.0
Pass net_device to .set_monitor_channel
1 parent a5ac678 commit b9f21a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

os_dep/linux/ioctl_cfg80211.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6000,7 +6000,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
60006000
}
60016001

60026002
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
6003-
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
6003+
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
6004+
, struct net_device *dev
6005+
, struct cfg80211_chan_def *chandef
6006+
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
60046007
, struct cfg80211_chan_def *chandef
60056008
#else
60066009
, struct ieee80211_channel *chan

0 commit comments

Comments
 (0)