OSDN Git Service

mt76: mt7615: fix invalid fallback rates
authorFelix Fietkau <nbd@nbd.name>
Thu, 11 Jul 2019 19:34:25 +0000 (21:34 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:29 +0000 (17:42 +0200)
commitf4635f66da8d2a1855fa0f9c6b2c1b342fdf527d
tree4c0726d264bf28957203fd9d6284fc8ac2e08eeb
parent1f5581dffe76e9fe2badafcc55030cbc345b02bd
mt76: mt7615: fix invalid fallback rates

Only decrement the rate index on duplicate rates if it is not already 0

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c