iwlwifi: pcie: log full command sequence

Log group as well. Remove 0x prefix to match TX logging.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Sara Sharon 2016-08-15 17:13:27 +03:00 committed by Luca Coelho
parent 671bed3fbe
commit 35177c9931
1 changed files with 3 additions and 2 deletions

View File

@ -1108,13 +1108,14 @@ static void iwl_pcie_rx_handle_rb(struct iwl_trans *trans,
FH_RSCSR_RXQ_POS != rxq->id); FH_RSCSR_RXQ_POS != rxq->id);
IWL_DEBUG_RX(trans, IWL_DEBUG_RX(trans,
"cmd at offset %d: %s (0x%.2x, seq 0x%x)\n", "cmd at offset %d: %s (%.2x.%2x, seq 0x%x)\n",
rxcb._offset, rxcb._offset,
iwl_get_cmd_string(trans, iwl_get_cmd_string(trans,
iwl_cmd_id(pkt->hdr.cmd, iwl_cmd_id(pkt->hdr.cmd,
pkt->hdr.group_id, pkt->hdr.group_id,
0)), 0)),
pkt->hdr.cmd, le16_to_cpu(pkt->hdr.sequence)); pkt->hdr.group_id, pkt->hdr.cmd,
le16_to_cpu(pkt->hdr.sequence));
len = iwl_rx_packet_len(pkt); len = iwl_rx_packet_len(pkt);
len += sizeof(u32); /* account for status word */ len += sizeof(u32); /* account for status word */