diff --git a/components/disa/dispatcher/inc/wlan_disa_tgt_api.h b/components/disa/dispatcher/inc/wlan_disa_tgt_api.h index 39887079ecca..ad900deb14cf 100644 --- a/components/disa/dispatcher/inc/wlan_disa_tgt_api.h +++ b/components/disa/dispatcher/inc/wlan_disa_tgt_api.h @@ -28,7 +28,7 @@ struct wlan_objmgr_psoc; struct disa_encrypt_decrypt_req_params; struct disa_encrypt_decrypt_resp_params; -#define GET_DISA_TX_OPS_FROM_VDEV(vedv) \ +#define GET_DISA_TX_OPS_FROM_PSOC(psoc) \ (&disa_psoc_get_priv(psoc)->disa_tx_ops) /** diff --git a/components/disa/dispatcher/src/wlan_disa_tgt_api.c b/components/disa/dispatcher/src/wlan_disa_tgt_api.c index 5576ff1b601f..384916c0c44b 100644 --- a/components/disa/dispatcher/src/wlan_disa_tgt_api.c +++ b/components/disa/dispatcher/src/wlan_disa_tgt_api.c @@ -38,7 +38,7 @@ QDF_STATUS tgt_disa_encrypt_decrypt_req(struct wlan_objmgr_psoc *psoc, DISA_ENTER(); - disa_tx_ops = GET_DISA_TX_OPS_FROM_VDEV(psoc); + disa_tx_ops = GET_DISA_TX_OPS_FROM_PSOC(psoc); QDF_ASSERT(disa_tx_ops->disa_encrypt_decrypt_req); if (disa_tx_ops->disa_encrypt_decrypt_req) @@ -101,7 +101,7 @@ QDF_STATUS tgt_disa_register_ev_handlers(struct wlan_objmgr_psoc *psoc) { struct wlan_disa_tx_ops *disa_tx_ops; - disa_tx_ops = GET_DISA_TX_OPS_FROM_VDEV(psoc); + disa_tx_ops = GET_DISA_TX_OPS_FROM_PSOC(psoc); QDF_ASSERT(disa_tx_ops->disa_register_ev_handlers); @@ -121,7 +121,7 @@ QDF_STATUS tgt_disa_unregister_ev_handlers(struct wlan_objmgr_psoc *psoc) { struct wlan_disa_tx_ops *disa_tx_ops; - disa_tx_ops = GET_DISA_TX_OPS_FROM_VDEV(psoc); + disa_tx_ops = GET_DISA_TX_OPS_FROM_PSOC(psoc); QDF_ASSERT(disa_tx_ops->disa_unregister_ev_handlers);