summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wmi/src/wmi_unified_tlv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c
index f48444e283e5..e8d01f765a4d 100644
--- a/wmi/src/wmi_unified_tlv.c
+++ b/wmi/src/wmi_unified_tlv.c
@@ -1121,7 +1121,7 @@ send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
int8_t *buf_ptr;
int32_t *module_id_bitmap_array; /* Used to fomr the second tlv */
- ASSERT(bitmap_len < MAX_MODULE_ID_BITMAP_WORDS);
+ ASSERT(dbglog_param->bitmap_len < MAX_MODULE_ID_BITMAP_WORDS);
/* Allocate size for 2 tlvs - including tlv hdr space for second tlv */
len = sizeof(wmi_debug_log_config_cmd_fixed_param) + WMI_TLV_HDR_SIZE +