mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
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>
This commit is contained in:
parent
5696aea6f2
commit
ec74116487
@ -1132,7 +1132,7 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb)
|
|||||||
txq_id, sequence,
|
txq_id, sequence,
|
||||||
priv->txq[IWL_CMD_QUEUE_NUM].q.read_ptr,
|
priv->txq[IWL_CMD_QUEUE_NUM].q.read_ptr,
|
||||||
priv->txq[IWL_CMD_QUEUE_NUM].q.write_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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user