|
@@ -184,6 +184,7 @@ static QDF_STATUS wlan_mgmt_txrx_pdev_obj_create_notification(
|
|
|
|
|
|
qdf_wake_lock_create(&mgmt_txrx_pdev_ctx->wakelock_tx_cmp,
|
|
|
"mgmt_txrx tx_cmp");
|
|
|
+ qdf_runtime_lock_init(&mgmt_txrx_pdev_ctx->wakelock_tx_runtime_cmp);
|
|
|
|
|
|
if (wlan_objmgr_pdev_component_obj_attach(pdev,
|
|
|
WLAN_UMAC_COMP_MGMT_TXRX,
|
|
@@ -201,6 +202,7 @@ static QDF_STATUS wlan_mgmt_txrx_pdev_obj_create_notification(
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
err_pdev_attach:
|
|
|
+ qdf_runtime_lock_deinit(&mgmt_txrx_pdev_ctx->wakelock_tx_runtime_cmp);
|
|
|
qdf_wake_lock_destroy(&mgmt_txrx_pdev_ctx->wakelock_tx_cmp);
|
|
|
qdf_mem_free(mgmt_txrx_stats);
|
|
|
err_mgmt_txrx_stats:
|
|
@@ -251,6 +253,7 @@ static QDF_STATUS wlan_mgmt_txrx_pdev_obj_destroy_notification(
|
|
|
|
|
|
wlan_mgmt_txrx_desc_pool_deinit(mgmt_txrx_pdev_ctx);
|
|
|
qdf_mem_free(mgmt_txrx_pdev_ctx->mgmt_txrx_stats);
|
|
|
+ qdf_runtime_lock_deinit(&mgmt_txrx_pdev_ctx->wakelock_tx_runtime_cmp);
|
|
|
qdf_wake_lock_destroy(&mgmt_txrx_pdev_ctx->wakelock_tx_cmp);
|
|
|
qdf_mem_free(mgmt_txrx_pdev_ctx);
|
|
|
|