prima: Error handling for WLANTL_updateSpoofMacAddr

Variables spoofMacAddr, selfMacAddr passed to WLANTL_updateSpoofMacAddr
are static arrays. Removed redundant check as those variables can never
be NULL. Also, if status returned by WLANTL_updateSpoofMacAddr is not
success, return with appropriate status and free the memory.

Change-Id: I2c34c96d85de13ff86ff5af635c024e1bfa43f35
CRs-Fixed: 813774
2 files changed
tree: 8200b6b78ed326434c8d2cf7ef95c062a3b4c786
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile