diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2021-02-05 13:13:01 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-11 18:50:38 +0200 |
commit | be2a2872d0b1db26222cfcd829f2d9e08f4c84c9 (patch) | |
tree | 0e49a143e3c3c195bcd32baeb887864649a3ad39 /drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | |
parent | 00ac71ff8dc8b8b9ea07947164e8e5e06c520807 (diff) | |
download | linux-stable-be2a2872d0b1db26222cfcd829f2d9e08f4c84c9.tar.gz linux-stable-be2a2872d0b1db26222cfcd829f2d9e08f4c84c9.tar.bz2 linux-stable-be2a2872d0b1db26222cfcd829f2d9e08f4c84c9.zip |
mt76: always use WTBL_MAX_SIZE for tlv allocation
Simplify WTBL defines.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c index 6cbccfb05f8b..e6ad6cbeb803 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c @@ -287,7 +287,7 @@ mt76_connac_mcu_alloc_wtbl_req(struct mt76_dev *dev, struct mt76_wcid *wcid, &hdr.wlan_idx_hi); if (!nskb) { nskb = mt76_mcu_msg_alloc(dev, NULL, - MT76_CONNAC_WTBL_UPDATE_BA_SIZE); + MT76_CONNAC_WTBL_UPDATE_MAX_SIZE); if (!nskb) return ERR_PTR(-ENOMEM); |