aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 34fd3eba3090..a352e4d22dd9 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1992,6 +1992,7 @@ static int ieee80211_set_wiphy_params(struct wiphy *wiphy, u32 changed)
1992} 1992}
1993 1993
1994static int ieee80211_set_tx_power(struct wiphy *wiphy, 1994static int ieee80211_set_tx_power(struct wiphy *wiphy,
1995 struct wireless_dev *wdev,
1995 enum nl80211_tx_power_setting type, int mbm) 1996 enum nl80211_tx_power_setting type, int mbm)
1996{ 1997{
1997 struct ieee80211_local *local = wiphy_priv(wiphy); 1998 struct ieee80211_local *local = wiphy_priv(wiphy);
@@ -2026,7 +2027,9 @@ static int ieee80211_set_tx_power(struct wiphy *wiphy,
2026 return 0; 2027 return 0;
2027} 2028}
2028 2029
2029static int ieee80211_get_tx_power(struct wiphy *wiphy, int *dbm) 2030static int ieee80211_get_tx_power(struct wiphy *wiphy,
2031 struct wireless_dev *wdev,
2032 int *dbm)
2030{ 2033{
2031 struct ieee80211_local *local = wiphy_priv(wiphy); 2034 struct ieee80211_local *local = wiphy_priv(wiphy);
2032 2035