qcacmn: For ast_entry of type DA use bss_peer

1. While saving ast_entry of type DA, use bss_peer.
2. Display the correct peer_mac_addr in ast_entry of type DA

Change-Id: Ic6150d6e3fc0b1c1274844ea6685df6b66afd811
CRs-Fixed: 2332417
This commit is contained in:
Pavankumar Nandeshwar 2018-10-23 18:10:22 +05:30 • committed by nshrivas
commit 3b67366fd2

View file

@ -614,6 +614,7 @@ add_ast_entry:
ast_entry->type = CDP_TXRX_AST_TYPE_MEC;
break;
case CDP_TXRX_AST_TYPE_DA:
ast_entry->peer = peer->vdev->vap_bss_peer;
ast_entry->next_hop = 1;
ast_entry->type = CDP_TXRX_AST_TYPE_DA;
break;