qca-wifi: fix issue in mpdu_tried_ucast WAR
The earlier WAR was not handling a corner case, where ba_size equal to mpdu_tried_ucast -1. This fix updates the check to handle it. CRs-Fixed: 2813082 Change-Id: Ib69f8232e40ee31bc4a4a2b35ec9e8917195d123
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
bba089a855
commit
4d05abaf4a
@@ -1752,7 +1752,7 @@ void dp_process_ppdu_stats_update_failed_bitmap(struct dp_pdev *pdev,
|
||||
|
||||
/* mpdu_tried should be always higher than last ba bit in ba bitmap */
|
||||
if ((user->mpdu_tried_ucast) &&
|
||||
(user->mpdu_tried_ucast < last_set_bit)) {
|
||||
(user->mpdu_tried_ucast < (last_set_bit + 1))) {
|
||||
|
||||
for (i = 0; i < size; i++)
|
||||
mpdu_enq += get_number_of_1s(user->enq_bitmap[i]);
|
||||
|
Reference in New Issue
Block a user