From ce0032c5e0795942d745e071921ead63a8e74498 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 20 Jan 2017 07:18:27 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 4cc5b133af..b0b7e39b22 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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 @@ -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();