qcacmn: Return correct rx refill buf ring
In dp_rxdma_get_mon_buf_ring returns mac id index of rx_refill_buf_ring array. But for targets with only one pdev only the zeroth index is initialized. This will lead to replenish failures in case of monitor mode when mon dest process of lmac ring with mac id 1. So return only index 0 of rx refill buf ring. Change-Id: I03a7e19ea8d976e19fe6482aff0080dfa4d5ec45 CRs-Fixed: 2638655
Dieser Commit ist enthalten in:
@@ -206,7 +206,8 @@ struct dp_srng *dp_rxdma_get_mon_buf_ring(struct dp_pdev *pdev,
|
||||
if (pdev->soc->wlan_cfg_ctx->rxdma1_enable)
|
||||
return &pdev->soc->rxdma_mon_buf_ring[mac_for_pdev];
|
||||
|
||||
return &pdev->soc->rx_refill_buf_ring[mac_for_pdev];
|
||||
/* For MCL there is only 1 rx refill ring */
|
||||
return &pdev->soc->rx_refill_buf_ring[0];
|
||||
}
|
||||
|
||||
/**
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren