Advertisement
Guest User

Untitled

a guest
Feb 8th, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.45 KB | None | 0 0
  1. --- drivers/net/wireless/iwlwifi/dvm/tx.c-orig  2014-02-07 09:57:55.305893472 +0400
  2. +++ drivers/net/wireless/iwlwifi/dvm/tx.c       2014-02-08 14:43:26.464865956 +0400
  3. @@ -1185,13 +1185,6 @@ int iwlagn_rx_reply_tx(struct iwl_priv *
  4.                         next_reclaimed = ssn;
  5.                 }
  6.  
  7. -               if (tid != IWL_TID_NON_QOS) {
  8. -                       priv->tid_data[sta_id][tid].next_reclaimed =
  9. -                               next_reclaimed;
  10. -                       IWL_DEBUG_TX_REPLY(priv, "Next reclaimed packet:%d\n",
  11. -                                                 next_reclaimed);
  12. -               }
  13. -
  14.                 iwl_trans_reclaim(priv->trans, txq_id, ssn, &skbs);
  15.  
  16.                 iwlagn_check_ratid_empty(priv, sta_id, tid);
  17. @@ -1239,8 +1232,11 @@ int iwlagn_rx_reply_tx(struct iwl_priv *
  18.                                 info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
  19.                         iwlagn_set_tx_status(priv, IEEE80211_SKB_CB(skb),
  20.                                      tx_resp);
  21. -                       if (!is_agg)
  22. +                       if (!is_agg) {
  23.                                 iwlagn_non_agg_tx_status(priv, ctx, hdr->addr1);
  24. +                               if (status == TX_STATUS_FAIL_FIFO_FLUSHED)
  25. +                                       next_reclaimed = ((le16_to_cpu(hdr->seq_ctrl) + 0x10) & IEEE80211_SCTL_SEQ) >> 4;
  26. +                       }
  27.  
  28.                         freed++;
  29.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement