mt76: connac: make read-only array ba_range static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Mar 2022 22:24:29 +0000 (22:24 +0000)
committerFelix Fietkau <nbd@nbd.name>
Wed, 16 Mar 2022 16:40:22 +0000 (17:40 +0100)
commitc00e13726b6c728370686b6d6e0e71b0a9f37f03
tree310009bd202cd69fc561971d4948d01b1e70f94f
parent01318bc00d16947715e8f65a629806e5953a36ff
mt76: connac: make read-only array ba_range static const

Don't populate the read-only array ba_range on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c