net/netdev/netdev_txnotify.c: add debug log with interface name

Add ninfo() in netdev_txnotify_dev() to log the network interface
name when TX notification is triggered, aiding network debugging.

Signed-off-by: Jerry Ma <shichunma@bestechnic.com>
This commit is contained in:
shichunma
2026-05-05 16:56:19 +08:00
committed by Xiang Xiao
parent d6e1c20a9c
commit de5cc186e4
+2
View File
@@ -113,6 +113,8 @@ void netdev_txnotify_dev(FAR struct net_driver_s *dev, uint32_t polltype)
{
if (dev != NULL && dev->d_txavail != NULL)
{
ninfo("txnotify dev: %s\n", dev->d_ifname);
/* Set the poll type flags */
dev->d_polltype |= polltype;