diff --git a/ioctl_cfg80211.c b/ioctl_cfg80211.c index 270cfce..04434fa 100644 --- a/ioctl_cfg80211.c +++ b/ioctl_cfg80211.c @@ -3240,6 +3240,9 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy, static int cfg80211_rtw_get_txpower(struct wiphy *wiphy, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) struct wireless_dev *wdev, +#endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0)) + unsigned int link_id, #endif int *dbm) {