qcacmn: Change peer unref delete API parameters
Pass vdev mac-addr and vdev-mode, instead of vdev-id. The vdev-id that was passed earlier, was used to get the mac-addr and vdev-mode from the vdev structure. But there are cases when this vdev structure may be freed, when this API is called. So pass the mac-addr and vdev-mode from the dp structures. Change-Id: I2148e7ecef433f4363385eeaec2e18f3ec131ab8 CRs-Fixed: 2356315
This commit is contained in:

gecommit door
nshrivas

bovenliggende
c38f0e89f0
commit
9420115f04
@@ -856,8 +856,8 @@ struct ol_if_ops {
|
||||
(*peer_rx_reorder_queue_remove)(struct cdp_ctrl_objmgr_pdev *ctrl_pdev,
|
||||
uint8_t vdev_id, uint8_t *peer_macaddr,
|
||||
uint32_t tid_mask);
|
||||
int (*peer_unref_delete)(void *scn_handle, uint8_t vdev_id,
|
||||
uint8_t *peer_macaddr);
|
||||
int (*peer_unref_delete)(void *scn_handle, uint8_t *peer_mac,
|
||||
uint8_t *vdev_mac, enum wlan_op_mode opmode);
|
||||
bool (*is_hw_dbs_2x2_capable)(struct wlan_objmgr_psoc *psoc);
|
||||
int (*peer_add_wds_entry)(void *vdev_handle,
|
||||
struct cdp_peer *peer_handle,
|
||||
|
Verwijs in nieuw issue
Block a user