wlan: Initialize the local variables correctly

Currently, In the nl_srv_ucast & nl_srv_bcast functions, the local
return variable is not initialized.So if there is any failure in
sending the nl broadcast or unicast request  the  local return
variable is updated with error code, but if the global socket
structure is NULL garbage value will be returned.

Hence intialize the local return variable with the -EINVAL.

Change-Id: I89c34d43d985dee429f2a67f2942142c12a93482
CRs-Fixed: 1040564
1 file changed
tree: d49fe626eb0a99efae6e608a3b1c80b2b6e8cd13
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile