wlan: Correctly fill WDA wificonfig parameters
In WDA_ProcessWifiConfigReq both wdaMsgParam & wdaWdiApiMsgParam
were wrongly filled with WDI_WifiConfigSetReqType this shall result
in Double free. Fixed the issue by filling wdaMsgParam with
tSetWifiConfigParams.
Change-Id: I5eb2ca94dc6210cf723cc13ea941f21fa29d44b8
CRs-Fixed: 927979
diff --git a/CORE/WDA/src/wlan_qct_wda.c b/CORE/WDA/src/wlan_qct_wda.c
index 1a25f79..ed50175 100644
--- a/CORE/WDA/src/wlan_qct_wda.c
+++ b/CORE/WDA/src/wlan_qct_wda.c
@@ -20547,7 +20547,7 @@
&(pwdaWificonfig->bssId), sizeof(tSirMacAddr));
pWdaParams->pWdaContext = pWDA;
- pWdaParams->wdaMsgParam = pwdiWifConfigSetReqParams;
+ pWdaParams->wdaMsgParam = pwdaWificonfig;
pWdaParams->wdaWdiApiMsgParam = (void *)pwdiWifConfigSetReqParams;
wstatus = WDI_WifiConfigSetReq(pwdiWifConfigSetReqParams,