Thread (15 messages) 15 messages, 3 authors, 2018-09-27

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

Hi Florian,
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help