iwlwifi: print packet contents in error case
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 24 Jul 2009 18:13:08 +0000 (11:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jul 2009 19:24:22 +0000 (15:24 -0400)
This data is more useful to debugging that the receive
buffer contents.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-tx.c

index e1558db97ec4f9d03d44092f995a874799679de2..660d1a76292bc7bba6901af0428693391e1761be 100644 (file)
@@ -1132,7 +1132,7 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb)
                  txq_id, sequence,
                  priv->txq[IWL_CMD_QUEUE_NUM].q.read_ptr,
                  priv->txq[IWL_CMD_QUEUE_NUM].q.write_ptr)) {
-               iwl_print_hex_error(priv, rxb, 32);
+               iwl_print_hex_error(priv, pkt, 32);
                return;
        }