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
tree: 3b830260a8efb6bd9aa2b23a83bdddc977fcd414
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile