mt76: mt7921: terminate fw log messages with \n

In order to make the firmware messages spewed on the console readable
write one message per line and not one very long line.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb
2026-06-10 11:22:44 +00:00
parent baf8561bdc
commit b662295ecb
@@ -234,7 +234,11 @@ mt7921_mcu_debug_msg_event(struct mt792x_dev *dev, struct sk_buff *skb)
if (!msg->content[i])
msg->content[i] = ' ';
}
#if defined(__linux__)
wiphy_info(mt76_hw(dev)->wiphy, "%.*s", len, msg->content);
#elif defined(__FreeBSD__)
wiphy_info(mt76_hw(dev)->wiphy, "%.*s\n", len, msg->content);
#endif
}
}