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

Reply via email to