]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 4 Jun 2018 09:19:41 +0000 (11:19 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 16:05:15 +0000 (19:05 +0300)
commit2d1e9be0016230f3707812243561fbd16f1aea4b
tree7f2f7b0fef5b9275689934f3fb7f042274ce3d3e
parent4e5f881d430aa243c8723c0de48fa16af30b292d
mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()

Fix mcs and attempt count estimation in mt76x2_mac_fill_tx_status routine
if the number of tx retries reported by the hw is grater than
IEEE80211_TX_MAX_RATES

Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c