Przeglądaj źródła

qcacmn: Fix 3addr mode Ping failure

Ping fails if the AP VAP is not a  part of
bridge as it missed the DA Peer checks
Fix is to move the check of MLO dev ctx
after DA peer validation

Change-Id: I3386bd6a4c9a3574893bc836278d9fb02254645b
CRs-Fixed: 3653128
Kenvish Butani 1 rok temu
rodzic
commit
74e7f3c660
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      dp/wifi3.0/be/dp_be_rx.c

+ 5 - 5
dp/wifi3.0/be/dp_be_rx.c

@@ -1365,11 +1365,6 @@ dp_rx_intrabss_ucast_check_be(qdf_nbuf_t nbuf,
 	if (!qdf_nbuf_is_intra_bss(nbuf))
 		return false;
 
-	if (!be_vdev->mlo_dev_ctxt) {
-		params->tx_vdev_id = ta_peer->vdev->vdev_id;
-		return true;
-	}
-
 	hal_rx_tlv_get_dest_chip_pmac_id(rx_tlv_hdr,
 					 &dest_chip_id,
 					 &dest_chip_pmac_id);
@@ -1397,6 +1392,11 @@ dp_rx_intrabss_ucast_check_be(qdf_nbuf_t nbuf,
 		dp_peer_unref_delete(da_peer, DP_MOD_ID_RX);
 	}
 
+	if (!be_vdev->mlo_dev_ctxt) {
+		params->tx_vdev_id = ta_peer->vdev->vdev_id;
+		return true;
+	}
+
 	if (dest_chip_id == be_soc->mlo_chip_id) {
 		if (dest_chip_pmac_id == ta_peer->vdev->pdev->pdev_id)
 			params->tx_vdev_id = ta_peer->vdev->vdev_id;