|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -46,7 +46,7 @@ void debug_dump_bytes(uint8_t *buffer, uint16_t length, char *pDescription)
|
|
|
if (count == 16) {
|
|
|
count = 0;
|
|
|
offset = 0;
|
|
|
- A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), "%4.4X",
|
|
|
+ A_SNPRINTF(byteOffsetStr, sizeof(byteOffsetStr), "%4.4X",
|
|
|
byteOffset);
|
|
|
A_PRINTF("[%s]: %s\n", byteOffsetStr, stream);
|
|
|
qdf_mem_zero(stream, 60);
|
|
@@ -55,7 +55,7 @@ void debug_dump_bytes(uint8_t *buffer, uint16_t length, char *pDescription)
|
|
|
}
|
|
|
|
|
|
if (offset != 0) {
|
|
|
- A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), "%4.4X",
|
|
|
+ A_SNPRINTF(byteOffsetStr, sizeof(byteOffsetStr), "%4.4X",
|
|
|
byteOffset);
|
|
|
A_PRINTF("[%s]: %s\n", byteOffsetStr, stream);
|
|
|
}
|