From 240afea9ba7a6101dd4017fc6db88666dc4707c1 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Wed, 30 Aug 2017 14:45:34 +0530 Subject: [PATCH] qcacmn: Compile errors when a preprocessor flag is on Fix for compile errors when QDF_DEBUG is enabled. Change-Id: Iaf02b0588d0ae0443726621ef3884a94dc8147cc CRs-Fixed: 2022696 --- wmi_unified_tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c index 87072e1951..7814ba21f4 100644 --- a/wmi_unified_tlv.c +++ b/wmi_unified_tlv.c @@ -1432,7 +1432,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 +