diff --git a/mt7921/mcu.c b/mt7921/mcu.c index 43e3bf89..78bd965d 100644 --- a/mt7921/mcu.c +++ b/mt7921/mcu.c @@ -502,7 +502,7 @@ mt7921_mcu_debug_msg_event(struct mt7921_dev *dev, struct sk_buff *skb) if (!msg->content[i]) msg->content[i] = ' '; } - wiphy_info(mt76_hw(dev)->wiphy, "%*s", len, msg->content); + wiphy_info(mt76_hw(dev)->wiphy, "%.*s", len, msg->content); } }