RE: [PATCH net 3/7] lan78xx: Check for supported Wake-on-LAN modes

From: Woojung.Huh
Date: Tue Sep 25 2018 - 18:32:38 EST


Hi Florian,

> @@ -1401,19 +1401,10 @@ static int lan78xx_set_wol(struct net_device
...
> + if (pdata->wol & ~WAKE_ALL)
> + return -EINVAL;
If I understand correctly, it needs to check againt "wol->wolopts" than pdata->wol.

> +
> + pdata->wol = wol->wolopts;

Thanks.
Woojung