qcacmn: Add AST type for DP path

There is a hard-coded AST type number used for DP path, which will
cause poor readability. Fix this problem by using a pre-defined
constant type value.

CRs-Fixed: 2142975
Change-Id: I3520970bf59ea7152a0851cfdc3b8e7943ddbc19
This commit is contained in:
chenguo
2017-11-14 14:41:19 +08:00
committed by snandini
parent 6be39c17e9
commit 85d964f48b
6 changed files with 22 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ uint8_t dp_get_peer_mac_addr_frm_id(struct cdp_soc_t *soc_handle,
int dp_peer_add_ast(struct dp_soc *soc, struct dp_peer *peer,
uint8_t *mac_addr, uint8_t is_self);
uint8_t *mac_addr, enum dp_ast_type is_self);
void dp_peer_del_ast(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
struct dp_ast_entry *dp_peer_ast_hash_find(struct dp_soc *soc,