From 9d84079aa3ecb6083b0ae8b9d3c2bd5a1ae08587 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Tue, 6 Apr 2010 11:18:44 +0200 Subject: [PATCH] --- yaml --- r: 194213 b: refs/heads/master c: 2b43ae6daf26f29cec49fa3a3f18025355495500 h: refs/heads/master i: 194211: f87f2e0ec2c19d84c3ca66ef57e39b347f17d578 v: v3 --- [refs] | 2 +- trunk/net/mac80211/tx.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index c104316b91fa..db50a59c1077 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e64b379574d6c92c15b4239ee0a5173317176547 +refs/heads/master: 2b43ae6daf26f29cec49fa3a3f18025355495500 diff --git a/trunk/net/mac80211/tx.c b/trunk/net/mac80211/tx.c index 350096afe79a..f7209d691c35 100644 --- a/trunk/net/mac80211/tx.c +++ b/trunk/net/mac80211/tx.c @@ -1144,13 +1144,12 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata, if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) && (local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION)) { - unsigned long flags; struct tid_ampdu_tx *tid_tx; qc = ieee80211_get_qos_ctl(hdr); tid = *qc & IEEE80211_QOS_CTL_TID_MASK; - spin_lock_irqsave(&tx->sta->lock, flags); + spin_lock(&tx->sta->lock); /* * XXX: This spinlock could be fairly expensive, but see the * comment in agg-tx.c:ieee80211_agg_tx_operational(). @@ -1175,7 +1174,7 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata, info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; __skb_queue_tail(&tid_tx->pending, skb); } - spin_unlock_irqrestore(&tx->sta->lock, flags); + spin_unlock(&tx->sta->lock); if (unlikely(queued)) return TX_QUEUED;