aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2020-11-11 19:33:59 +0100
committerJohannes Berg <[email protected]>2020-11-12 11:25:09 +0100
commitb2911a84396f72149dce310a3b64d8948212c1b3 (patch)
treebd7f61dc404f5c457c423e8220f1d3575a99e9fc /lib/mpi/mpi-cmp.c
parent4fe40b8e1566dad04c87fbf299049a1d0d4bd58d (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