qcacmn: remove ctrl_peer handle from dp peer

Remove ctrl_peer handle from dp peer and instead
use peer's mac address

Change-Id: I9e24fa94248749f9b4859bce4a1d79d70f32507e
This commit is contained in:
Pavankumar Nandeshwar
2019-10-03 20:51:01 +05:30
committed by nshrivas
parent fb323024ac
commit 715fdc32ec
9 changed files with 50 additions and 72 deletions

View File

@@ -362,7 +362,7 @@ cdp_pdev_deinit(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, int force)
static inline void *cdp_peer_create
(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
uint8_t *peer_mac_addr, struct cdp_ctrl_objmgr_peer *ctrl_peer)
uint8_t *peer_mac_addr)
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
@@ -376,7 +376,7 @@ static inline void *cdp_peer_create
return NULL;
return soc->ops->cmn_drv_ops->txrx_peer_create(vdev,
peer_mac_addr, ctrl_peer);
peer_mac_addr);
}
static inline void cdp_peer_setup