Browse Source

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
Pavankumar Nandeshwar 4 years ago
parent
commit
4ae78ae165
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dp/wifi3.0/dp_peer.c

+ 1 - 0
dp/wifi3.0/dp_peer.c

@@ -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);