Ver Fonte

qcacmn: Avoid accessing invalid cookie rx_descriptor

Remove debug dump call to dp_rx_desc_dump() as cookie rx_descriptor is
invalid.

Change-Id: I106ebc2f872e43079abd6e6e493c90022fd09c3b
CRs-Fixed: 2638059
Saket Jha há 5 anos atrás
pai
commit
42f305e423
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      dp/wifi3.0/dp_rx.c

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

@@ -110,7 +110,6 @@ QDF_STATUS dp_rx_desc_sanity(struct dp_soc *soc, hal_soc_handle_t hal_soc,
 	return_buffer_manager = hal_rx_ret_buf_manager_get(ring_desc);
 	if (qdf_unlikely(!(return_buffer_manager == HAL_RX_BUF_RBM_SW1_BM ||
 			 return_buffer_manager == HAL_RX_BUF_RBM_SW3_BM))) {
-		dp_rx_desc_dump(rx_desc);
 		goto fail;
 	}