Explorar el Código

qcacld-3.0: Remove duplicate cds_deinit_policy_mgr in error handling

hdd_wlan_stop_modules takes care of the cds_deinit_policy_mgr call.
Therefore hdd_wlan_startup doesn not need to directly call this api.

Change-Id: Ic9abbeb44697e6e9a02208eadad48e9a4cdcc16a
CRs-Fixed: 1079503
Houston Hoffman hace 8 años
padre
commit
5d3f74c518
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      core/hdd/src/wlan_hdd_main.c

+ 0 - 4
core/hdd/src/wlan_hdd_main.c

@@ -8112,10 +8112,6 @@ err_stop_modules:
 err_exit_nl_srv:
 	hdd_exit_netlink_services(hdd_ctx);
 
-	if (!QDF_IS_STATUS_SUCCESS(cds_deinit_policy_mgr())) {
-		hdd_err("Failed to deinit policy manager");
-		/* Proceed and complete the clean up */
-	}
 	cds_deinit_ini_config();
 err_hdd_free_context:
 	qdf_mc_timer_destroy(&hdd_ctx->iface_change_timer);