diff options
| author | Alok Kumar <alokkuma@codeaurora.org> | 2017-08-30 14:45:34 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-09-14 02:57:25 -0700 |
| commit | 59c22b69664cadb3b50aa9a8565e45b59cd8cb67 (patch) | |
| tree | 7a4ff8f7e6a6e0f124fdf34eef74b95441ede81e | |
| parent | 52bde3897a1af76c0af7f39586a757bc2c53351d (diff) | |
qcacmn: Compile errors when a preprocessor flag is on
Fix for compile errors when QDF_DEBUG is enabled.
Change-Id: Iaf02b0588d0ae0443726621ef3884a94dc8147cc
CRs-Fixed: 2022696
| -rw-r--r-- | wmi/src/wmi_unified_tlv.c | 2 |
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 + |
