mt76: mt7915: allocate proper size for tlv tags
authorRyder Lee <ryder.lee@mediatek.com>
Mon, 11 May 2020 16:06:37 +0000 (00:06 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:37 +0000 (19:52 +0200)
commit3e68af622254bad75f5989c39663fd12a8efeddd
tree9c76816a7e75e0a6621d0a5c0150f0ce4559cad3
parentbabdad50f781c21c2e5511bf406dbb9728da05cb
mt76: mt7915: allocate proper size for tlv tags

Allocating proper memory size according to tlv usage.

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