linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RHEL6 PATCH] iwlwifi: remove spurious warning
@ 2012-07-09 11:48 Stanislaw Gruszka
  2012-07-09 11:50 ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Stanislaw Gruszka @ 2012-07-09 11:48 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Intel Linux Wireless, linux-wireless, Stanislaw Gruszka

BZ#837754

Description:
Some devices do not set SEQ_RX_FRAME flags for few commands that should
not be reclaimed. It was supposed to be fixed in firmware, but it was
not.

Upstream change also add possibility to configure which commands should
not be reclaimed, but that option is not used - only original 6 commands
are configured. So I did not backport that part, because it make things
somewhat (not necessarily) complex.

Upstream:
commit d663ee73f62903aed334eca25832a76c4a7e4c1c
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Sat Mar 10 13:00:07 2012 -0800

    iwlwifi: abstract out missing SEQ_RX_FRAME workaround

Testing:
Compiled only.
---
 drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
index 1daf01e..80e9328 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
@@ -449,17 +449,6 @@ static void iwl_rx_handle(struct iwl_trans *trans)
 		else
 			cmd = NULL;
 
-		/* warn if this is cmd response / notification and the uCode
-		 * didn't set the SEQ_RX_FRAME for a frame that is
-		 * uCode-originated
-		 * If you saw this code after the second half of 2012, then
-		 * please remove it
-		 */
-		WARN(pkt->hdr.cmd != REPLY_TX && reclaim == false &&
-		     (!(pkt->hdr.sequence & SEQ_RX_FRAME)),
-		     "reclaim is false, SEQ_RX_FRAME unset: %s\n",
-		     get_cmd_string(pkt->hdr.cmd));
-
 		err = iwl_rx_dispatch(priv(trans), rxb, cmd);
 
 		/*
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-10 20:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 11:48 [RHEL6 PATCH] iwlwifi: remove spurious warning Stanislaw Gruszka
2012-07-09 11:50 ` Johannes Berg
2012-07-09 11:54   ` Stanislaw Gruszka
2012-07-09 19:10     ` Emmanuel Grumbach
2012-07-10  6:02       ` Stanislaw Gruszka
2012-07-10 13:15         ` Emmanuel Grumbach
2012-07-10 13:37           ` Stanislaw Gruszka
2012-07-10 20:38             ` Emmanuel Grumbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).