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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user