[PATCH net v2] net: spacemit: Check IFF_UP in emac_set_pauseparam()

Andrew Lunn andrew at lunn.ch
Fri Oct 31 12:08:56 PDT 2025


> +	if (!(dev->flags & IFF_UP))
> +		return -ENETDOWN;
> +

This is a lot better, but please use netif_running().

    Andrew

---
pw-bot: cr



More information about the linux-riscv mailing list