fix build for kernel 6.14

This commit is contained in:
amazingfate
2025-02-16 16:36:13 +08:00
parent 6b4cfb5c37
commit fb77d4b931

View File

@@ -4222,6 +4222,9 @@ exit:
static int cfg80211_rtw_get_txpower(struct wiphy *wiphy, static int cfg80211_rtw_get_txpower(struct wiphy *wiphy,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0)) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
struct wireless_dev *wdev, struct wireless_dev *wdev,
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))
unsigned int link_id,
#endif #endif
int *dbm) int *dbm)
{ {