mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-01-24 03:43:19 +00:00
add conditional for kernel 6.17 on function to preserve backwards compatibility
This commit is contained in:
@@ -2518,7 +2518,11 @@ exit:
|
||||
|
||||
}
|
||||
|
||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy, int radio_idx, u32 changed)
|
||||
static int cfg80211_rtw_set_wiphy_params(struct wiphy *wiphy,
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0))
|
||||
int radio_idx,
|
||||
#endif
|
||||
u32 changed)
|
||||
{
|
||||
#if 0
|
||||
struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
|
||||
|
||||
Reference in New Issue
Block a user