Explorar el Código

Revert "qcacld-3.0: Add NULL check in hdd shutdown API"

Commit I979fd09fadb347585ae5a044277d3855d76f94ca introduced
invalid null pointer check for HIF handle because of which
WLAN shutdown is failing, hence revert this change.

Change-Id: Ibd5a3c23f18f316386b2fbd5cf38926bad4de5d7
CRs-Fixed: 1112571
Rajeev Kumar hace 8 años
padre
commit
8e24513cfb
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      core/hdd/src/wlan_hdd_driver_ops.c

+ 0 - 5
core/hdd/src/wlan_hdd_driver_ops.c

@@ -437,11 +437,6 @@ static void wlan_hdd_shutdown(void)
 {
 	void *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
 
-	if (NULL == hif_ctx) {
-		hdd_err("HIF context NULL");
-		return;
-	}
-
 	if (cds_is_load_or_unload_in_progress()) {
 		hdd_err("Load/unload in progress, ignore SSR shutdown");
 		return;