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

@@ -2073,7 +2073,7 @@ void dp_tx_mec_handler(struct dp_vdev *vdev, uint8_t *status)
status[(DP_MAC_ADDR_LEN - 2) + i];
if (qdf_mem_cmp(mac_addr, vdev->mac_addr.raw, DP_MAC_ADDR_LEN) &&
!dp_peer_add_ast(soc, peer, mac_addr, 2)) {
!dp_peer_add_ast(soc, peer, mac_addr, dp_ast_type_mec)) {
soc->cdp_soc.ol_ops->peer_add_wds_entry(
vdev->pdev->osif_pdev,
mac_addr,