2
0
mirror of https://github.com/cilynx/rtl88x2bu synced 2025-08-22 02:01:55 +00:00

Add additional argument to cfg80211_rtw_get_txpower

In Linux Kernel commit 7a53af85d3bbdbe06cd47b81a6d99a04dc0a3963 a new
argument is introduced to cfg80211_rtw_get_txpower. It seems to be only
introduced but unused. Therefore, this argument is added here too.
This commit is contained in:
Max Görner 2024-11-26 09:38:36 +01:00
parent efe396cb50
commit 00cd158900

View File

@ -4436,6 +4436,9 @@ exit:
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)
{