Selaa lähdekoodia

qcacld-3.0: Do not assert when dumping state info

When memory dump config is enabled, the lim/sme state info
dump api's are invoked. These api's are also invoked after wlan
modules are stopped.
Change is to remove the assert and return if mac context is null.

Change-Id: Ie1b71bb62c490b9c79430dd997db3f09bbe6ef31
CRs-Fixed: 3579391
Amruta Kulkarni 1 vuosi sitten
vanhempi
sitoutus
ccc3316187
2 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 1
      core/mac/src/pe/lim/lim_api.c
  2. 0 1
      core/sme/src/common/sme_api.c

+ 0 - 1
core/mac/src/pe/lim/lim_api.c

@@ -509,7 +509,6 @@ static void lim_state_info_dump(char **buf_ptr, uint16_t *size)
 
 	mac = cds_get_context(QDF_MODULE_ID_PE);
 	if (!mac) {
-		QDF_ASSERT(0);
 		return;
 	}
 

+ 0 - 1
core/sme/src/common/sme_api.c

@@ -681,7 +681,6 @@ static void sme_state_info_dump(char **buf_ptr, uint16_t *size)
 
 	mac_handle = cds_get_context(QDF_MODULE_ID_SME);
 	if (!mac_handle) {
-		QDF_ASSERT(0);
 		return;
 	}