Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 822395b5 authored by Don Fry's avatar Don Fry Committed by John W. Linville
Browse files

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: default avatarDon Fry <donald.h.fry@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent fac6b6a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1227,6 +1227,7 @@ static int iwlagn_tx_status_reply_compressed_ba(struct iwl_priv *priv,
	struct ieee80211_tx_info *info;

	if (unlikely(!agg->wait_for_ba))  {
		if (unlikely(ba_resp->bitmap))
			IWL_ERR(priv, "Received BA when not expected\n");
		return -EINVAL;
	}