qcacld-3.0: Remove unnecessary assertion in SAP callback

Propagation from qcacld-2.0 to qcacld-3.0

In random testing cases, the SAP close may be called even before the BSS
is started. In such cases the SAP callback may not have been registered
and such scenarios may lead to unnecessary assertion. Just returning an
errror should do.

Remove the assert but retain the error notification.

Change-Id: Ief9ea45d2d7f3d910766e73a9e0dca5e34c85905
CRs-Fixed: 2121720
1 file changed
tree: f0280d0f710a89bd32730021e1ef6dac3b9da5a3
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt