qcacld-3.0: Panic when wait for WMI_SERVICE_READY_EXT_EVENT times out

Change ASSERT to BUG_ON when wait for WMI_SERVICE_READY_EXT_EVENT times
out in insmod thread.

Change-Id: Ie666fd0881969a503e6b3635cdc5bb7f223776ec
CRs-Fixed: 1075166
This commit is contained in:
Naveen Rawat
2016-10-07 10:58:29 -07:00
committed by qcabuildsw
parent 02e3608a68
commit ac39a10fae
2 changed files with 3 additions and 3 deletions

View File

@@ -519,8 +519,8 @@ QDF_STATUS cds_pre_enable(v_CONTEXT_t cds_context)
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_FATAL,
"Failed to get ready event from target firmware");
QDF_BUG(0);
htc_stop(gp_cds_context->htc_ctx);
QDF_ASSERT(0);
return QDF_STATUS_E_FAILURE;
}

View File

@@ -121,8 +121,8 @@ static void wma_service_ready_ext_evt_timeout(void *data)
}
end:
/* Panic so that we can debug why FW is not responding */
QDF_BUG(0);
/* Assert here. Panic is being called in insmod thread */
QDF_ASSERT(0);
}
/**