diff options
| author | Houston Hoffman <hhoffman@codeaurora.org> | 2016-10-10 17:51:06 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-20 16:04:34 -0700 |
| commit | 5d3f74c518df7d535df578705d5e635d3a47fd16 (patch) | |
| tree | 90c3cdb6fe5f7c0297df83bc98ee664b24ef9b5d | |
| parent | 8d1a6f09c8918cfb6b3b38616473f4582995382d (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 2fbd8c8b881c..203eddfb7781 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/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); |
