wlan: Use local param to pass params to cfgSendHostMsg
Global params are used to pass the params list to cfgSendHostMsg,
but if this function is called from two different thread there
might be the case in which the global params are modified before
a response is sent for the cfgId and this results is mismatch
in requested cfgId and cfgId in response.
Also these global params are not used beyond the cfgSendHostMsg.
Use local param to pass the param to cfgSendHostMsg.
CRs-Fixed: 916355
Change-Id: Ic29ebbd0e7fb934e10b62c2586c11503ae583d14
3 files changed