android_kernel_xiaomi_sm8350/core/sap
Hanumanth Reddy Pothula 714d7d5bd7 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
2017-10-09 03:47:57 -07:00
..
dfs qcacld-3.0: sap: Replace instances of unadorned %p 2017-09-25 21:56:54 -07:00
inc qcacld-3.0: Rename pSapCtx to sap_ctx 2017-09-28 21:59:32 -07:00
src qcacld-3.0: Remove unnecessary assertion in SAP callback 2017-10-09 03:47:57 -07:00