mt76: mt76s: move queue accounting in mt76s_tx_queue_skb
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 17 Jul 2020 08:57:39 +0000 (10:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Jul 2020 17:01:18 +0000 (19:01 +0200)
commit1f8284150dbc6a6995d8647be025944ebc29ad26
tree0c0b55f34d3da60d220d2ea273032d16b1b5cd90
parenta66cbdd6573db8515735d37793c22605432c346d
mt76: mt76s: move queue accounting in mt76s_tx_queue_skb

In order to avoid possible overflows, move tx queue accounting from
mt7663s_tx_run_queue() to mt76s_tx_queue_skb_raw()/mt76s_tx_queue_skb()

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c
drivers/net/wireless/mediatek/mt76/sdio.c