iwlwifi: dvm: don't use _ni mac80211's callbacks
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 May 2014 09:58:00 +0000 (12:58 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 May 2014 09:58:00 +0000 (12:58 +0300)
This is not needed since the PCIe layer disables the
bottom halves before it calls the op_mode.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/dvm/rx.c
drivers/net/wireless/iwlwifi/dvm/tx.c

index cd8377346aff0c2936a6f0ee773ae8fd33042025..debec963c610d4693fb40ca22a27b9cd3b6310ac 100644 (file)
@@ -786,7 +786,7 @@ static void iwlagn_pass_packet_to_mac80211(struct iwl_priv *priv,
 
        memcpy(IEEE80211_SKB_RXCB(skb), stats, sizeof(*stats));
 
-       ieee80211_rx_ni(priv->hw, skb);
+       ieee80211_rx(priv->hw, skb);
 }
 
 static u32 iwlagn_translate_rx_status(struct iwl_priv *priv, u32 decrypt_in)
index 5b88ca78a8268c6e22450ac514a5e2c7718e02ff..3255a1723d176f59ee5547e7981a9d3bbe7d9583 100644 (file)
@@ -1271,7 +1271,7 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
 
        while (!skb_queue_empty(&skbs)) {
                skb = __skb_dequeue(&skbs);
-               ieee80211_tx_status_ni(priv->hw, skb);
+               ieee80211_tx_status(priv->hw, skb);
        }
 
        return 0;
@@ -1411,7 +1411,7 @@ int iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
 
        while (!skb_queue_empty(&reclaimed_skbs)) {
                skb = __skb_dequeue(&reclaimed_skbs);
-               ieee80211_tx_status_ni(priv->hw, skb);
+               ieee80211_tx_status(priv->hw, skb);
        }
 
        return 0;