qcacld-3.0: Rename GET_DISA_TX_OPS_FROM_VDEV()

The name GET_DISA_TX_OPS_FROM_VDEV() is misleading since the macro
actually uses a psoc, so rename the macro to reflect the actual source
of data. In addition update the macro parameter so that it is actually
used.

Change-Id: I1a895a677250d860920102ec0d25719312536231
CRs-Fixed: 2362598
This commit is contained in:
Jeff Johnson
2018-12-06 11:07:10 -08:00
committed by nshrivas
parent 71d465ac42
commit 34233e246e
2 changed files with 4 additions and 4 deletions

View File

@@ -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)
/**

View File

@@ -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);