Przeglądaj źródła

qcacmn: Return failure when mpdu is NULL

Return failure when mpdu is NULL

Change-Id: Ie4d27e5bdb8bc56d869ad10628deeacd51ecc605
CRs-Fixed: 3235962
Harsh Kumar Bijlani 3 lat temu
rodzic
commit
836a658783
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c

+ 1 - 1
dp/wifi3.0/monitor/2.0/dp_rx_mon_2.0.c

@@ -495,7 +495,7 @@ dp_rx_mon_handle_full_mon(struct dp_pdev *pdev,
 
 	if (!mpdu) {
 		dp_mon_debug("nbuf is NULL, return");
-		return;
+		return QDF_STATUS_E_FAILURE;
 	}
 
 	head_msdu = mpdu;