Files
build/patch/misc/wireless-rtl8723cs/8723cs-Port-to-6.13.patch
2025-01-01 19:38:55 +01:00

21 lines
861 B
Diff

diff --git a/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c b/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
index 2ea88d7ce3c5..3386acc000b6 100644
--- a/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
@@ -6799,13 +6799,8 @@ 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(3, 8, 0))
- , struct cfg80211_chan_def *chandef
-#else
- , struct ieee80211_channel *chan
- , enum nl80211_channel_type channel_type
-#endif
- )
+ , struct net_device *dev
+ , struct cfg80211_chan_def *chandef)
{
_adapter *padapter = wiphy_to_adapter(wiphy);
u8 target_channal, target_offset, target_width, ht_option;