mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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
This commit is contained in:
parent
c15357faae
commit
4e0ea80390
2 changed files with 3 additions and 5 deletions
|
|
@ -883,8 +883,7 @@ struct cdp_peer_ops {
|
|||
enum ol_txrx_peer_state state);
|
||||
QDF_STATUS (*get_vdevid)(void *peer, uint8_t *vdev_id);
|
||||
struct cdp_vdev * (*get_vdev_by_sta_id)(uint8_t sta_id);
|
||||
QDF_STATUS (*register_ocb_peer)(void *cds_ctx, uint8_t *mac_addr,
|
||||
uint8_t *peer_id);
|
||||
QDF_STATUS (*register_ocb_peer)(uint8_t *mac_addr, uint8_t *peer_id);
|
||||
uint8_t * (*peer_get_peer_mac_addr)(void *peer);
|
||||
int (*get_peer_state)(void *peer);
|
||||
struct cdp_vdev * (*get_vdev_for_peer)(void *peer);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue