mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-12-23 20:41:43 +00:00
Adapt to Kernel 6.13.0
Pass net_device to .set_monitor_channel
This commit is contained in:
parent
a5ac6789a7
commit
b9f21a6ff2
@ -6000,7 +6000,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user