summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-07-24 11:13:08 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-07-27 15:24:22 -0400
commitec74116487278adf6c3db9c3bbdc81c6409c1cbb (patch)
tree285dd1202641f6439b67f7485ac4fd29091ccc55
parent5696aea6f243e40013d2b00cd140fd006ec20b9c (diff)
iwlwifi: print packet contents in error case
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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index e1558db97ec4..660d1a76292b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -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;
}