mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 8 Jun 2019 14:44:36 +0000 (16:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 27 Jun 2019 10:58:13 +0000 (12:58 +0200)
commit760556042acdd4f0c964fd6403f828b33fce3822
tree308cba3a7a6054bffb63bea82a63324c159b1d7f
parentac7ff57127cc5aec434b2220f6e80ab319646984
mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine

Move conn_type configuration directly in mt7615_mcu_set_sta_rec and
remove sta_rec_convert_vif_type since it is actually used just in
mt7615_mcu_set_sta_rec

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