Comment 29 for bug 899498

Revision history for this message
Eugene (euug) wrote :

In case the stable tree maintainers don't want to include the full patch from 3.2-rc4, I've just successfully tested the part of it that just fixes wake-on-lan.

I've also found and fixed an easy bug in asix_get_wol that's still in 3.2-rc4.... They need to add:

diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index e6fed4d..7389c7b 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -689,6 +689,10 @@ asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo)
        }
        wolinfo->supported = WAKE_PHY | WAKE_MAGIC;
        wolinfo->wolopts = 0;
+ if (opt & AX_MONITOR_LINK)
+ wolinfo->wolopts |= WAKE_PHY;
+ if (opt & AX_MONITOR_MAGIC)
+ wolinfo->wolopts |= WAKE_MAGIC;
 }

If an Ubuntu person can get this fixed in upstream that would be great.