mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
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
This commit is contained in:
parent
09121df9d7
commit
714d7d5bd7
1 changed files with 0 additions and 1 deletions
|
|
@ -2306,7 +2306,6 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
|
|||
|
||||
/* Format the Start BSS Complete event to return... */
|
||||
if (NULL == sap_ctx->pfnSapEventCallback) {
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
if (NULL == hal) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue