mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-01-26 21:03:15 +00:00
fix build for kernel 6.13
.set_monitor_channel has been updated since v6.13:
9c4f830927
This commit is contained in:
@@ -4520,7 +4520,10 @@ static int cfg80211_rtw_set_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
|
||||
#else
|
||||
, struct ieee80211_channel *chan
|
||||
|
||||
Reference in New Issue
Block a user