From 3aa586ac298237a39d6a20fed20d396817bd99f5 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/src/wmi_unified_tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 87072e19514a..7814ba21f433 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/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 +