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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user