Dan Carpenter <dan.carpenter@xxxxxxxxxx> writes: > This code was copied from mt76 and inherited an off by one bug from > there. The > should be >= so that we don't read one element beyond > the end of the array. > > Fixes: db3e1c40cf2f ("mac80211: Import airtime calculation code from mt76") > Reported-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- Thanks! Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>