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

From: Woojung.Huh
Date: Tue Sep 25 2018 - 13:33:05 EST


Hi Florian,

> >> + if (pdata->wol == 0)
> >> + return -EINVAL;
> >> +
> > It will make function return when disabling WOL.
>
> Huh, yes, good point.
>
> > Is there other place handling this scenario?
>
> How do you mean?
>
I meant there is another path I might miss when disabling WOL
than this xxx_set_wol().

Thanks
Woojung