소스 검색

qcacmn: assert in rx path

Assert happened in rx path because rx reo rings setup
is done and after that default routing information is
updated, if any time elasped any buffer received in
exception ring falsely. Setting route information before
intialize.

Change-Id: I48c7292db0823d3eac639429f956dff1fcc41cae
Ruchi, Agrawal 7 년 전
부모
커밋
8e2796b8ac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dp/wifi3.0/dp_main.c

+ 2 - 2
dp/wifi3.0/dp_main.c

@@ -3214,8 +3214,6 @@ static void dp_peer_setup_wifi3(struct cdp_vdev *vdev_hdl, void *peer_hdl)
 	pdev = vdev->pdev;
 	soc = pdev->soc;
 
-	dp_peer_rx_init(pdev, peer);
-
 	peer->last_assoc_rcvd = 0;
 	peer->last_disassoc_rcvd = 0;
 	peer->last_deauth_rcvd = 0;
@@ -3243,6 +3241,8 @@ static void dp_peer_setup_wifi3(struct cdp_vdev *vdev_hdl, void *peer_hdl)
 			pdev->osif_pdev, peer->mac_addr.raw,
 			 peer->vdev->vdev_id, hash_based, reo_dest);
 	}
+
+	dp_peer_rx_init(pdev, peer);
 	return;
 }