]> git.baikalelectronics.ru Git - kernel.git/commit
mt7615: mcu: use standard signature for mt7615_mcu_msg_send
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 4 May 2019 15:29:06 +0000 (17:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:26 +0000 (12:55 +0200)
commit9a559c10be035bfbcec6390b2b391e2396d16645
treeba75d5a5eafa8ff86539fc7cdc192b1d856e7a65
parent9a8124f9afde8c1802baa566205f92cbed8dbb9d
mt7615: mcu: use standard signature for mt7615_mcu_msg_send

Use mt76 common signature for mt7615_mcu_msg_send. Move skb allocation
in mt7615_mcu_msg_send and remove duplicated code. Remove
__mt7615_mcu_set_wtbl and __mt7615_mcu_set_sta_rec since now are used
just to send mcu msgs.  This is a preliminary patch for mt7615-mt7603 mcu
code unification

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