1
0

qcacmn: Remove cds_ctx param from register_ocb_peer()

The cdp_peer_ops register_ocb_peer() method currently takes a cds_ctx
parameter. Converged datapath APIs should not require the MCL-specific
CDS context, and in fact it is not required by the MCL implementation,
so remove it from all OCB peer registration APIs.

Change-Id: I8ebb49713b26ef5bbf25cc7e4b09b1b29e579844
CRs-Fixed: 2103450
Este cometimento está contido em:
Jeff Johnson
2017-09-01 14:24:59 -07:00
cometido por snandini
ascendente c15357faae
cometimento 4e0ea80390
2 ficheiros modificados com 3 adições e 5 eliminações

Ver ficheiro

@@ -100,7 +100,7 @@ cdp_clear_peer(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, uint8_t sta_id)
* QDF_STATUS_E_NOSUPPORT not support this feature
*/
static inline QDF_STATUS
cdp_peer_register_ocb_peer(ol_txrx_soc_handle soc, void *cds_ctx,
cdp_peer_register_ocb_peer(ol_txrx_soc_handle soc,
uint8_t *mac_addr, uint8_t *peer_id)
{
if (!soc || !soc->ops || !soc->ops->peer_ops) {
@@ -110,8 +110,7 @@ cdp_peer_register_ocb_peer(ol_txrx_soc_handle soc, void *cds_ctx,
}
if (soc->ops->peer_ops->register_ocb_peer)
return soc->ops->peer_ops->register_ocb_peer(cds_ctx,
mac_addr, peer_id);
return soc->ops->peer_ops->register_ocb_peer(mac_addr, peer_id);
return QDF_STATUS_E_NOSUPPORT;
}