qcacld-3.0: Invoke HDD Request Manager init/deinit

Enable the HDD Request Manager by invoking the init() and deinit()
APIs as appropriate.

Change-Id: I31e268ca02b4b5c2831c540933ee059a27bd9c7e
CRs-Fixed: 2005301
此提交包含在:
Jeff Johnson
2017-01-20 07:18:27 -08:00
提交者 qcabuildsw
父節點 a2d9bb372c
當前提交 ce0032c5e0

查看文件

@@ -54,6 +54,7 @@
#include "wlan_hdd_power.h"
#include "wlan_hdd_stats.h"
#include "wlan_hdd_scan.h"
#include "wlan_hdd_request_manager.h"
#include "qdf_types.h"
#include "qdf_trace.h"
#include <cdp_txrx_peer_ops.h>
@@ -4931,6 +4932,7 @@ static void hdd_wlan_exit(hdd_context_t *hdd_ctx)
*/
hdd_green_ap_deinit(hdd_ctx);
hdd_request_manager_deinit();
hdd_runtime_suspend_context_deinit(hdd_ctx);
hdd_close_all_adapters(hdd_ctx, false);
@@ -8378,6 +8380,7 @@ int hdd_wlan_startup(struct device *dev)
if (ret)
goto err_hdd_free_context;
hdd_request_manager_init();
hdd_green_ap_init(hdd_ctx);
ret = hdd_wlan_start_modules(hdd_ctx, NULL, false);
@@ -8534,6 +8537,7 @@ err_stop_modules:
err_exit_nl_srv:
hdd_green_ap_deinit(hdd_ctx);
hdd_request_manager_deinit();
hdd_exit_netlink_services(hdd_ctx);
cds_deinit_ini_config();