qcacmn: Add vdev_id argument to peer-delete

Add vdev-id as argument to peer-delete callback
function.

Change-Id: I8a43ed53c5f7ad64f1f4cb7aeb925e285752b7b5
This commit is contained in:
Subhranil Choudhury 2019-02-28 13:41:45 +05:30 • committed by nshrivas
commit 9bcfecf548
2 changed files with 3 additions and 2 deletions

View file

@ -908,7 +908,8 @@ struct ol_if_ops {
uint8_t vdev_id, uint8_t *peer_mac_addr,
enum cdp_txrx_ast_entry_type peer_type,
uint32_t tx_ast_hashidx);
int (*peer_unmap_event)(void *ol_soc_handle, uint16_t peer_id);
int (*peer_unmap_event)(void *ol_soc_handle, uint16_t peer_id,
uint8_t vdev_id);
int (*get_dp_cfg_param)(void *ol_soc_handle, enum cdp_cfg_param_type param_num);

View file

@ -1511,7 +1511,7 @@ peer_unmap:
if (soc->cdp_soc.ol_ops->peer_unmap_event) {
soc->cdp_soc.ol_ops->peer_unmap_event(soc->ctrl_psoc,
peer_id);
peer_id, vdev_id);
}
/*