Merge "qca-wifi: Dont rely on msdu_cnt in rxdma error"

This commit is contained in:
Linux Build Service Account
2020-08-26 10:37:07 -07:00
gecommit door Gerrit - the friendly Code Review server
bovenliggende fd562dfe74 8f1d74719a
commit 8d55895471

Bestand weergeven

@@ -497,7 +497,10 @@ dp_rx_mon_mpdu_reap(struct dp_soc *soc, struct dp_pdev *pdev, uint32_t mac_id,
if (drop_mpdu) {
dp_rx_mon_buffer_free(rx_desc);
msdu = NULL;
desc_info->msdu_count--;
/*
* Dont rely on msdu_cnt in case of rxdma error
* Dont decrement msdu_cnt
*/
goto next_msdu;
}