RE: [PATCH net 3/7] lan78xx: Check for supported Wake-on-LAN modes
From: <Woojung.Huh@microchip.com>
Date: 2018-09-25 22:32:37
Also in:
linux-usb, lkml
From: <Woojung.Huh@microchip.com>
Date: 2018-09-25 22:32:37
Also in:
linux-usb, lkml
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