diff options
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 363d19b5d5c8..1acb29109b45 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -1347,9 +1347,6 @@ static int sta_apply_parameters(struct ieee80211_local *local, | |||
1347 | params->vht_capa, sta); | 1347 | params->vht_capa, sta); |
1348 | 1348 | ||
1349 | if (params->opmode_notif_used) { | 1349 | if (params->opmode_notif_used) { |
1350 | enum ieee80211_band band = | ||
1351 | ieee80211_get_sdata_band(sdata); | ||
1352 | |||
1353 | /* returned value is only needed for rc update, but the | 1350 | /* returned value is only needed for rc update, but the |
1354 | * rc isn't initialized here yet, so ignore it | 1351 | * rc isn't initialized here yet, so ignore it |
1355 | */ | 1352 | */ |
@@ -3647,8 +3644,8 @@ ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, | |||
3647 | 3644 | ||
3648 | static int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, | 3645 | static int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, |
3649 | u8 *peer, u8 action_code, u8 dialog_token, | 3646 | u8 *peer, u8 action_code, u8 dialog_token, |
3650 | u16 status_code, const u8 *extra_ies, | 3647 | u16 status_code, u32 peer_capability, |
3651 | size_t extra_ies_len) | 3648 | const u8 *extra_ies, size_t extra_ies_len) |
3652 | { | 3649 | { |
3653 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 3650 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
3654 | struct ieee80211_local *local = sdata->local; | 3651 | struct ieee80211_local *local = sdata->local; |