mt76: mt7615: move mt7615_mcu_set_rates to mac.c
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 Jul 2019 18:08:35 +0000 (20:08 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:28 +0000 (17:42 +0200)
commit592ed85d6b280081dda76e77e103bd7e68d2fb2f
tree02ab1a78b23b5d4a223bf179224e5f708d6838fc
parent3815ab3f495b05286449971aac81eb3ccde9876e
mt76: mt7615: move mt7615_mcu_set_rates to mac.c

It bypasses the MCU, so it does not belong in mcu.c
Also make mt7615_mac_tx_rate_val static

Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h