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
@@ -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,
@@ -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;
}