diff --git a/mt7915/mcu.c b/mt7915/mcu.c index b0328d4f..8224f8be 100644 --- a/mt7915/mcu.c +++ b/mt7915/mcu.c @@ -3038,7 +3038,7 @@ int mt7915_mcu_get_chan_mib_info(struct mt7915_phy *phy, bool chan_switch) } ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_EXT_CMD(GET_MIB_INFO), - req, sizeof(req), true, &skb); + req, len * sizeof(req[0]), true, &skb); if (ret) return ret;