qcacld-3.0: Avoid failing driver when cesium_nl_sock failed

qcacld-2.0 to qcacld-3.0 propagation

In the dual wifi instances, the 2nd cesium_nl_sock initialization
will fail due to the first driver has registered the socket.

This doesn't have to fail the driver to be up running, so simply
print a warning in this case.

Also add a check in the case to use the cesium_nl_sock to make sure
it is properly used only when it is initialized.

Change-Id: Ia62d606c1400b437f08c28951d6a6a77428f73b1
CRs-fixed: 995038
2 files changed
tree: 3148c056d82ef5bb914507b9afca852711ee00fa
  1. config/
  2. core/
  3. target/
  4. uapi/
  5. Android.mk
  6. Kbuild
  7. Kconfig
  8. Makefile
  9. README.txt