aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/tx.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
index 0914ec2fd574..a040edc55057 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
@@ -423,6 +423,15 @@ int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb)
423 return -1; 423 return -1;
424 } 424 }
425 425
426 /*
427 * Increase the pending frames counter, so that later when a reply comes
428 * in and the counter is decreased - we don't start getting negative
429 * values.
430 * Note that we don't need to make sure it isn't agg'd, since we're
431 * TXing non-sta
432 */
433 atomic_inc(&mvm->pending_frames[sta_id]);
434
426 return 0; 435 return 0;
427} 436}
428 437