mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: 0-terminate firmware log messages
Avoid including garbage from previous rx data in the printk messages Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -423,6 +423,7 @@ mt7615_mcu_rx_log_message(struct mt7615_dev *dev, struct sk_buff *skb)
|
||||
break;
|
||||
}
|
||||
|
||||
skb->data[skb->len] = 0;
|
||||
wiphy_info(mt76_hw(dev)->wiphy, "%s: %s", type, data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user