From 9bcfecf548f927347c56fe17f50bce338f2ce451 Mon Sep 17 00:00:00 2001 From: Subhranil Choudhury Date: Thu, 28 Feb 2019 13:41:45 +0530 Subject: [PATCH] qcacmn: Add vdev_id argument to peer-delete Add vdev-id as argument to peer-delete callback function. Change-Id: I8a43ed53c5f7ad64f1f4cb7aeb925e285752b7b5 --- dp/inc/cdp_txrx_ops.h | 3 ++- dp/wifi3.0/dp_peer.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h index 62a97bdb85b9..ee8a2d2d411e 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -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); diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index dea7a7812ee9..b4f98139cbad 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -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); } /*