From: Reinette Chatre Date: Fri, 26 Jun 2009 18:00:55 +0000 (-0700) Subject: iwlwifi: always print buffer when error condition occurs X-Git-Tag: MMI-PSA29.97-13-9~26976^2~672 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ac487260e087f1660e856d4afae2dd49774f66b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git iwlwifi: always print buffer when error condition occurs We want to see the buffer contents when the error occurs without needing to set any debug flags. Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index b35c1fd2cb29..753fca32d9df 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c @@ -1109,7 +1109,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_dump(priv, IWL_DL_INFO , rxb, 32); + iwl_print_hex_error(priv, rxb, 32); return; }