|
@@ -1410,6 +1410,7 @@ static void hdd_runtime_suspend_context_init(struct hdd_context *hdd_ctx)
|
|
|
qdf_runtime_lock_init(&ctx->system_suspend);
|
|
|
qdf_runtime_lock_init(&ctx->dyn_mac_addr_update);
|
|
|
qdf_runtime_lock_init(&ctx->vdev_destroy);
|
|
|
+ qdf_runtime_lock_init(&ctx->oem_data_cmd);
|
|
|
|
|
|
qdf_rtpm_register(QDF_RTPM_ID_WIPHY_SUSPEND, NULL);
|
|
|
qdf_rtpm_register(QDF_RTPM_ID_PM_QOS_NOTIFY, NULL);
|
|
@@ -1432,6 +1433,7 @@ static void hdd_runtime_suspend_context_deinit(struct hdd_context *hdd_ctx)
|
|
|
if (ctx->is_user_wakelock_acquired)
|
|
|
qdf_runtime_pm_allow_suspend(&ctx->user);
|
|
|
|
|
|
+ qdf_runtime_lock_deinit(&ctx->oem_data_cmd);
|
|
|
qdf_runtime_lock_deinit(&ctx->dyn_mac_addr_update);
|
|
|
qdf_runtime_lock_deinit(&ctx->wow_unit_test);
|
|
|
qdf_runtime_lock_deinit(&ctx->monitor_mode);
|