prima: Error handling in Roaming code #1

This fix contains following changes
1. Remove redundant memset and cleanup,
2. Populate proper length in Candidate Found Indication,
3. Provide proper length to copy the RIC IEs and
4. Allocate correct size for the message.

CRs-Fixed: 789742
Change-Id: I3d5295182916997955138fae021e2e257b2caccf
4 files changed
tree: 642fce6bff2ae1982b9883c903709dcd66e9f025
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile