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
This commit is contained in:
Houston Hoffman 2016-10-10 17:51:06 -07:00 • committed by qcabuildsw
commit 5d3f74c518

View file

@ -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);