2
0
mirror of https://github.com/cilynx/rtl88x2bu synced 2025-08-22 10:10:08 +00:00

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. It seems to be only introduced but
unused. Therefore, this argument is added here too.
This commit is contained in:
Max Görner 2024-11-26 09:38:36 +01:00
parent 45ca59c3dd
commit ac3ec87cee

View File

@ -6295,7 +6295,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
#endif /*#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0))*/ #endif /*#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 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(3, 8, 0)) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
, struct net_device *dev
, struct cfg80211_chan_def *chandef
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
, struct cfg80211_chan_def *chandef , struct cfg80211_chan_def *chandef
#else #else
, struct ieee80211_channel *chan , struct ieee80211_channel *chan