diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 906ab785db40..3fb04a86444d 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1145,25 +1145,6 @@ static int __ieee80211_tx(struct ieee80211_local *local, | |||
1145 | info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT | | 1145 | info->flags &= ~(IEEE80211_TX_CTL_CLEAR_PS_FILT | |
1146 | IEEE80211_TX_CTL_FIRST_FRAGMENT); | 1146 | IEEE80211_TX_CTL_FIRST_FRAGMENT); |
1147 | 1147 | ||
1148 | /* | ||
1149 | * Internally, we need to have the queue mapping point to | ||
1150 | * the real AC queue, not the virtual A-MPDU queue. This | ||
1151 | * now finally sets the queue to what the driver wants. | ||
1152 | * We will later move this down into the only driver that | ||
1153 | * needs it, iwlwifi. | ||
1154 | */ | ||
1155 | if (sta && local->hw.ampdu_queues && | ||
1156 | info->flags & IEEE80211_TX_CTL_AMPDU) { | ||
1157 | unsigned long flags; | ||
1158 | u8 *qc = ieee80211_get_qos_ctl((void *) skb->data); | ||
1159 | int tid = *qc & IEEE80211_QOS_CTL_TID_MASK; | ||
1160 | |||
1161 | spin_lock_irqsave(&sta->lock, flags); | ||
1162 | skb_set_queue_mapping(skb, local->hw.queues + | ||
1163 | sta->tid_to_tx_q[tid]); | ||
1164 | spin_unlock_irqrestore(&sta->lock, flags); | ||
1165 | } | ||
1166 | |||
1167 | next = skb->next; | 1148 | next = skb->next; |
1168 | len = skb->len; | 1149 | len = skb->len; |
1169 | ret = local->ops->tx(local_to_hw(local), skb); | 1150 | ret = local->ops->tx(local_to_hw(local), skb); |