qcacmn: Add ast-type in wds_add

Add ast-type as argument in wds peer create command.
This helps to identify the ast entry from the time when ast add is done.

Change-Id: Ia0c073cf8f2573608e6a84410dffee6edf9b064b
This commit is contained in:
Subhranil Choudhury
2020-01-13 16:21:34 +05:30
committed by nshrivas
parent b543c23ae2
commit 22434e5ebd
2 changed files with 4 additions and 2 deletions

View File

@@ -954,7 +954,8 @@ struct ol_if_ops {
uint8_t *peer_macaddr,
const uint8_t *dest_macaddr,
uint8_t *next_node_mac,
uint32_t flags);
uint32_t flags,
uint8_t type);
int (*peer_update_wds_entry)(struct cdp_ctrl_objmgr_psoc *soc,
uint8_t vdev_id,
uint8_t *dest_macaddr,

View File

@@ -826,7 +826,8 @@ add_ast_entry:
peer->mac_addr.raw,
mac_addr,
next_node_mac,
flags)) {
flags,
ast_entry->type)) {
qdf_spin_unlock_bh(&soc->ast_lock);
return 0;
}