iwlwifi: mvm: fix %16 to %016 print format
With just %16, it means 16 characters padding, but we really don't want to print "0x 1F4547B", but instead want to have this filled with zeroes, so we need the 0. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:

committed by
Luca Coelho

orang tua
85d78bb173
melakukan
677837b8b3
@@ -1345,7 +1345,7 @@ void iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
|
||||
agg_status = iwl_mvm_get_agg_status(mvm, beacon_notify_hdr);
|
||||
status = le16_to_cpu(agg_status->status) & TX_STATUS_MSK;
|
||||
IWL_DEBUG_RX(mvm,
|
||||
"beacon status %#x retries:%d tsf:0x%16llX gp2:0x%X rate:%d\n",
|
||||
"beacon status %#x retries:%d tsf:0x%016llX gp2:0x%X rate:%d\n",
|
||||
status, beacon_notify_hdr->failure_frame,
|
||||
le64_to_cpu(beacon->tsf),
|
||||
mvm->ap_last_beacon_gp2,
|
||||
|
@@ -248,7 +248,7 @@ void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb)
|
||||
IWL_ERR(mvm, "FW Error notification: seq 0x%04X service 0x%08X\n",
|
||||
le16_to_cpu(err_resp->bad_cmd_seq_num),
|
||||
le32_to_cpu(err_resp->error_service));
|
||||
IWL_ERR(mvm, "FW Error notification: timestamp 0x%16llX\n",
|
||||
IWL_ERR(mvm, "FW Error notification: timestamp 0x%016llX\n",
|
||||
le64_to_cpu(err_resp->timestamp));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user