wlan: lim: Correct return value in limIsSmeGetAssocSTAsReqValid

Return value is inconsistent in limIsSmeGetAssocSTAsReqValid()
causing incorrect return check in limProcessSmeGetAssocSTAsInfo()
hence structure getAssocSTAsReq is being accessed uninitialized
after the return value check.

In limProcessSmeGetWPSPBCSessions(), on failure of function
limIsSmeGetWPSPBCSessionsReqValid(), struct GetWPSPBCSessionsReq
is accessed uninitialized after 'limGetWPSPBCSessionsEnd' label.

Correcting return value in limIsSmeGetAssocSTAsReqValid().
Returning on failure case in limProcessSmeGetAssocSTAsInfo()
and limProcessSmeGetWPSPBCSessions().

Change-Id: Icb2682046039e712ff620ba96255425ae0e8e407
CRs-Fixed: 699142
2 files changed
tree: cf3d94e65407f50a8aa83cda6bdd9afa60cb20c5
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile