소스 검색

qcacmn: Avoiding the loop back packets between MLO NAWDS repeaters

Check for mld peer id instead of link peer id in the case of
intra bss forwarding between MLO NAWDS repeaters

Change-Id: I7af7f43e7f88c95b0debee85c0976fdb9a1c5519
CRs-Fixed: 3142943
Sai Rupesh Chevuru 3 년 전
부모
커밋
490ea7cc78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dp/wifi3.0/dp_tx.c

+ 1 - 1
dp/wifi3.0/dp_tx.c

@@ -2956,7 +2956,7 @@ void dp_tx_nawds_handler(struct dp_soc *soc, struct dp_vdev *vdev,
 			/* Multicast packets needs to be
 			 * dropped in case of intra bss forwarding
 			 */
-			if (sa_peer_id == peer->peer_id) {
+			if (sa_peer_id == txrx_peer->peer_id) {
 				dp_tx_debug("multicast packet");
 				DP_PEER_PER_PKT_STATS_INC(txrx_peer,
 							  tx.nawds_mcast_drop,