]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-3945.c
iwlwifi: fix potential lock inversion deadlock
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / iwlwifi / iwl-3945.c
index dc3d695bf096a2de6a8c5c3b24b64c75c0703ed4..50a641c0c5b79607017e1db4e365b2cc067f06e9 100644 (file)
@@ -283,8 +283,8 @@ static void iwl3945_tx_queue_reclaim(struct iwl3945_priv *priv,
                q->read_ptr = iwl_queue_inc_wrap(q->read_ptr, q->n_bd)) {
 
                tx_info = &txq->txb[txq->q.read_ptr];
-               ieee80211_tx_status(priv->hw, tx_info->skb[0],
-                                   &tx_info->status);
+               ieee80211_tx_status_irqsafe(priv->hw, tx_info->skb[0],
+                                           &tx_info->status);
                tx_info->skb[0] = NULL;
                iwl3945_hw_txq_free_tfd(priv, txq);
        }