qcacmn: Update the vdev id while updating the ast entry

In client roaming scenarios, when the ast entry is
updated, make sure the ast entry is updated with
new vdev id.

Change-Id: I0bd5235eeb28909cabe48f577d4477789d7be9e8
This commit is contained in:
Pavankumar Nandeshwar
2021-02-15 20:40:31 -08:00
committed by snandini
parent b16b4608c3
commit 4ae78ae165

View File

@@ -1524,6 +1524,7 @@ int dp_peer_update_ast(struct dp_soc *soc, struct dp_peer *peer,
ast_entry->peer_id = peer->peer_id;
ast_entry->type = CDP_TXRX_AST_TYPE_WDS;
ast_entry->pdev_id = peer->vdev->pdev->pdev_id;
ast_entry->vdev_id = peer->vdev->vdev_id;
ast_entry->is_active = TRUE;
TAILQ_INSERT_TAIL(&peer->ast_entry_list, ast_entry, ase_list_elem);