From 5185252b5dba825461e365e8a193faebb673abe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rin=20Cat=20=28=E9=88=B4=E7=8C=AB=29?= Date: Sun, 1 Dec 2024 22:50:34 -0500 Subject: [PATCH] fix style --- os_dep/linux/ioctl_cfg80211.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index d40cb37..1b042f6 100755 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -6952,13 +6952,13 @@ static void rtw_get_chbwoff_from_cfg80211_chan_def( rtw_warn_on(1); }; } -#endif /*#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0))*/ +#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(6, 12, 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)) +#endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) , struct cfg80211_chan_def *chandef #else , struct ieee80211_channel *chan