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

Use proper mcu message size in mt7615_mcu_add_wtbl 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