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
This commit is contained in:
Himanshu Agarwal 2018-02-06 15:10:59 +05:30 • committed by snandini
commit 88b16a48d0

View file

@ -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);