wlan: Error handling in limProcessSmeJoinReq.
Currently if cfg_get fails for WNI_CFG_JOIN_FAILURE_TIMEOUT,
no value is assigned to join_failure_timeout. As a result,
value of join_failure_timeout would be Zero(because of mem set).
This would result in immediate join failure timeout while sending
join request over air.
Similarly if cfg_get fails for WNI_CFG_11H_ENABLED, value assigned
is not proper. In failure case, val is assigned which has value as
sizeof tLimMlmJoinReq. As a part of fix, make sure that proper value
is assigned during cfg_get failure.
Change-Id: Id3fad1d97e6ea3f421382a3be25bdd3234c7b69c
CRs-Fixed: 811040
1 file changed