path: root/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
diff options
authorDon Fry <>2010-10-23 09:02:50 -0700
committerJohn W. Linville <>2010-10-25 14:45:56 -0400
commit822395b591db32ad3cf8a5b57b0fe30fb8d12c37 (patch)
tree335506c09a2e17a6ab677fb9b32e8e2c854bb8e8 /drivers/net/wireless/iwlwifi/iwl-agn-tx.c
parentfac6b6a065da42f826088c58bddad82e1b1ccb40 (diff)
iwlwifi: quiet a noisy printk
Timing issues in microcode for some devices can cause a compressed BA to be sent to the driver prior to returning any a-MPDU notification. Traces show RTS-CTS is exchanged and then the timer fires which causes an empty BA to be sent which acknowledges nothing. This results in a noisy printk. Only print the message if the bitmap is non-zero. Signed-off-by: Don Fry <> Signed-off-by: Wey-Yi Guy <> Signed-off-by: John W. Linville <>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tx.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index db57aea629d9..2b078a995729 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -1227,7 +1227,8 @@ static int iwlagn_tx_status_reply_compressed_ba(struct iwl_priv *priv,
struct ieee80211_tx_info *info;
if (unlikely(!agg->wait_for_ba)) {
- IWL_ERR(priv, "Received BA when not expected\n");
+ if (unlikely(ba_resp->bitmap))
+ IWL_ERR(priv, "Received BA when not expected\n");
return -EINVAL;