summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2011-10-10 07:27:03 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:11 -0400
commit9e8107ed9058e910eee982ee94d3a5eb201fb5d1 (patch)
tree7680a8a03fa015743c4a2368edf25a14fca21d74 /drivers/net/wireless/iwlwifi
parent984ecb9293b77901947f3ade5f7e1a70bfc7d940 (diff)
downloadop-kernel-dev-9e8107ed9058e910eee982ee94d3a5eb201fb5d1.zip
op-kernel-dev-9e8107ed9058e910eee982ee94d3a5eb201fb5d1.tar.gz
iwlagn: warn only once if AGG state is wrong
This one can be _very_ noisy. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
index f69aecb..2abd07f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
@@ -1098,7 +1098,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
seq_number += 0x10;
/* aggregation is on for this <sta,tid> */
if (info->flags & IEEE80211_TX_CTL_AMPDU) {
- WARN_ON(tid_data->agg.state != IWL_AGG_ON);
+ WARN_ON_ONCE(tid_data->agg.state != IWL_AGG_ON);
txq_id = tid_data->agg.txq_id;
is_agg = true;
}
OpenPOWER on IntegriCloud