aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_txrx.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_txrx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
index 723a3a9c5cd9..a898dac22337 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
@@ -446,7 +446,6 @@ static void ath9k_htc_tx_process(struct ath9k_htc_priv *priv,
446 struct ieee80211_tx_info *tx_info; 446 struct ieee80211_tx_info *tx_info;
447 struct ieee80211_tx_rate *rate; 447 struct ieee80211_tx_rate *rate;
448 struct ieee80211_conf *cur_conf = &priv->hw->conf; 448 struct ieee80211_conf *cur_conf = &priv->hw->conf;
449 struct ieee80211_supported_band *sband;
450 bool txok; 449 bool txok;
451 int slot; 450 int slot;
452 451
@@ -461,7 +460,6 @@ static void ath9k_htc_tx_process(struct ath9k_htc_priv *priv,
461 tx_info = IEEE80211_SKB_CB(skb); 460 tx_info = IEEE80211_SKB_CB(skb);
462 vif = tx_info->control.vif; 461 vif = tx_info->control.vif;
463 rate = &tx_info->status.rates[0]; 462 rate = &tx_info->status.rates[0];
464 sband = priv->hw->wiphy->bands[cur_conf->channel->band];
465 463
466 memset(&tx_info->status, 0, sizeof(tx_info->status)); 464 memset(&tx_info->status, 0, sizeof(tx_info->status));
467 465