qcacmn: Fix compilation issue for WMI Recording feature

Fix compilation issues when WMI_INTERFACE_EVENT_LOGGING
feature is disabled.

Change-Id: I30e9b96cc8d387a7fbe94ae786f9d36ea58b8c21
CRs-Fixed: 1019979
This commit is contained in:
Govind Singh
2016-06-10 10:33:19 +05:30
committed by Vishwajith Upendra
parent dc8d1ae217
commit 06c18396b9
2 changed files with 7 additions and 6 deletions

View File

@@ -11530,6 +11530,7 @@ static QDF_STATUS extract_channel_hopping_event_tlv(wmi_unified_t wmi_handle,
return QDF_STATUS_SUCCESS;
}
#ifdef WMI_INTERFACE_EVENT_LOGGING
static bool is_management_record_tlv(uint32_t cmd_id)
{
if ((cmd_id == WMI_MGMT_TX_SEND_CMDID) ||
@@ -11538,6 +11539,7 @@ static bool is_management_record_tlv(uint32_t cmd_id)
return false;
}
#endif
struct wmi_ops tlv_ops = {
.send_vdev_create_cmd = send_vdev_create_cmd_tlv,