From 88b16a48d01e229f8d419dd7eab7ce856152d8d3 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Tue, 6 Feb 2018 15:10:59 +0530 Subject: [PATCH] qcacld-3.0: Register wmi_tlv_attach() through wmi_tlv_init() Register wmi_tlv_attach() through wmi_tlv_init() for WMI modularization. Change-Id: I4c21fd5ddd6e58dcebfbf1b484b418c537e23e58 CRs-Fixed: 2184817 --- core/wma/src/wma_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index f72f3f20d3b5..95a96e3da91f 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -2892,6 +2892,8 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc, /* Attach mc_thread context processing function */ ops.wma_process_fw_event_handler_cbk = wma_process_fw_event_handler; + /* initialize tlv attach */ + wmi_tlv_init(); /* attach the wmi */ wmi_handle = wmi_unified_attach(wma_handle, NULL, WMI_TLV_TARGET, use_cookie, &ops, psoc);