summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-06-02 20:31:57 +0300
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:29 -0400
commit2d892986e82306b8ad96285fb54b9999523331e0 (patch)
tree74e2c89b15e42bac8b7fb39622edc22792a2ca1f /net/mac80211/tx.c
parentb97e77e0446f0702de7fa0f5d2c52acf42d0289f (diff)
downloadop-kernel-dev-2d892986e82306b8ad96285fb54b9999523331e0.zip
op-kernel-dev-2d892986e82306b8ad96285fb54b9999523331e0.tar.gz
mac80211: removing shadowed sband
This patch removes doubly defined sband variable Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-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 4214d03..1ad9e66 100644
--- a/net/mac80211/tx.c
+++ b/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;
OpenPOWER on IntegriCloud