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
This commit is contained in:
@@ -54,6 +54,7 @@
|
|||||||
#include "wlan_hdd_power.h"
|
#include "wlan_hdd_power.h"
|
||||||
#include "wlan_hdd_stats.h"
|
#include "wlan_hdd_stats.h"
|
||||||
#include "wlan_hdd_scan.h"
|
#include "wlan_hdd_scan.h"
|
||||||
|
#include "wlan_hdd_request_manager.h"
|
||||||
#include "qdf_types.h"
|
#include "qdf_types.h"
|
||||||
#include "qdf_trace.h"
|
#include "qdf_trace.h"
|
||||||
#include <cdp_txrx_peer_ops.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_green_ap_deinit(hdd_ctx);
|
||||||
|
hdd_request_manager_deinit();
|
||||||
|
|
||||||
hdd_runtime_suspend_context_deinit(hdd_ctx);
|
hdd_runtime_suspend_context_deinit(hdd_ctx);
|
||||||
hdd_close_all_adapters(hdd_ctx, false);
|
hdd_close_all_adapters(hdd_ctx, false);
|
||||||
@@ -8378,6 +8380,7 @@ int hdd_wlan_startup(struct device *dev)
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto err_hdd_free_context;
|
goto err_hdd_free_context;
|
||||||
|
|
||||||
|
hdd_request_manager_init();
|
||||||
hdd_green_ap_init(hdd_ctx);
|
hdd_green_ap_init(hdd_ctx);
|
||||||
|
|
||||||
ret = hdd_wlan_start_modules(hdd_ctx, NULL, false);
|
ret = hdd_wlan_start_modules(hdd_ctx, NULL, false);
|
||||||
@@ -8534,6 +8537,7 @@ err_stop_modules:
|
|||||||
|
|
||||||
err_exit_nl_srv:
|
err_exit_nl_srv:
|
||||||
hdd_green_ap_deinit(hdd_ctx);
|
hdd_green_ap_deinit(hdd_ctx);
|
||||||
|
hdd_request_manager_deinit();
|
||||||
hdd_exit_netlink_services(hdd_ctx);
|
hdd_exit_netlink_services(hdd_ctx);
|
||||||
|
|
||||||
cds_deinit_ini_config();
|
cds_deinit_ini_config();
|
||||||
|
Reference in New Issue
Block a user