aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 4214d039fbc6..1ad9e664f287 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -612,13 +612,10 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx)
612 612
613 if ((info->flags & IEEE80211_TX_CTL_USE_RTS_CTS) || 613 if ((info->flags & IEEE80211_TX_CTL_USE_RTS_CTS) ||
614 (info->flags & IEEE80211_TX_CTL_USE_CTS_PROTECT)) { 614 (info->flags & IEEE80211_TX_CTL_USE_CTS_PROTECT)) {
615 struct ieee80211_supported_band *sband;
616 struct ieee80211_rate *rate; 615 struct ieee80211_rate *rate;
617 s8 baserate = -1; 616 s8 baserate = -1;
618 int idx; 617 int idx;
619 618
620 sband = tx->local->hw.wiphy->bands[tx->channel->band];
621
622 /* Do not use multiple retry rates when using RTS/CTS */ 619 /* Do not use multiple retry rates when using RTS/CTS */
623 info->control.alt_retry_rate_idx = -1; 620 info->control.alt_retry_rate_idx = -1;
624 621