From eca2f0ec0d4c697e5655cf65657f4abdfd275d6b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 19 Jan 2021 17:43:11 +0100 Subject: [PATCH] mt76: mt7915: fix command id for txbf action Signed-off-by: Felix Fietkau --- mt7915/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7915/mcu.c b/mt7915/mcu.c index 4311b0d62..5a20d1402 100644 --- a/mt7915/mcu.c +++ b/mt7915/mcu.c @@ -3439,7 +3439,7 @@ int mt7915_mcu_set_txbf_module(struct mt7915_dev *dev) .bf_bitmap = GENMASK(1, 0), }; - return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_TXBF_ACTION, &req, + return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(TXBF_ACTION), &req, sizeof(req), true); }