From 17195dfb026d1908d86f52dd22585527833d0b4b Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Mon, 2 Jun 2008 20:31:57 +0300 Subject: [PATCH] --- yaml --- r: 102849 b: refs/heads/master c: 2d892986e82306b8ad96285fb54b9999523331e0 h: refs/heads/master i: 102847: 09fa224051c32fad3a0cc78b2cee99f44f0f5ee1 v: v3 --- [refs] | 2 +- trunk/net/mac80211/tx.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 64dbcefc4018..1be1b3d81e84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b97e77e0446f0702de7fa0f5d2c52acf42d0289f +refs/heads/master: 2d892986e82306b8ad96285fb54b9999523331e0 diff --git a/trunk/net/mac80211/tx.c b/trunk/net/mac80211/tx.c index 4214d039fbc6..1ad9e664f287 100644 --- a/trunk/net/mac80211/tx.c +++ b/trunk/net/mac80211/tx.c @@ -612,13 +612,10 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx) if ((info->flags & IEEE80211_TX_CTL_USE_RTS_CTS) || (info->flags & IEEE80211_TX_CTL_USE_CTS_PROTECT)) { - struct ieee80211_supported_band *sband; struct ieee80211_rate *rate; s8 baserate = -1; int idx; - sband = tx->local->hw.wiphy->bands[tx->channel->band]; - /* Do not use multiple retry rates when using RTS/CTS */ info->control.alt_retry_rate_idx = -1;