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