]> git.baikalelectronics.ru Git - kernel.git/commit
mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 4 May 2019 15:28:56 +0000 (17:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:26 +0000 (12:55 +0200)
commit28cf41f732d905e7fa868f81892b02ad9451be1d
tree104b439f10504517b481c5de00251c9153833744
parent3e5c0bbc2177626acbff3f766fbd73fa00cf0588
mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc

Use proper mcu message size in mt7615_mcu_add_wtbl_bmc and do not
allocate a huge buffer. Moreover use stack memory instead of heap one

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