diff options
author | Felix Fietkau <[email protected]> | 2020-11-11 19:33:59 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2020-11-12 11:25:09 +0100 |
commit | b2911a84396f72149dce310a3b64d8948212c1b3 (patch) | |
tree | bd7f61dc404f5c457c423e8220f1d3575a99e9fc /lib/mpi/mpi-cmp.c | |
parent | 4fe40b8e1566dad04c87fbf299049a1d0d4bd58d (diff) |
mac80211: minstrel: fix tx status processing corner case
Some drivers fill the status rate list without setting the rate index after
the final rate to -1. minstrel_ht already deals with this, but minstrel
doesn't, which causes it to get stuck at the lowest rate on these drivers.
Fix this by checking the count as well.
Cc: [email protected]
Fixes: cccf129f820e ("mac80211: add the 'minstrel' rate control algorithm")
Signed-off-by: Felix Fietkau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions