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.

** Patch added: "possible patch for stable kernel"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899498/+attachment/2617647/+files/AX8817X-wol-fix-for-stable.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/899498

Title:
  Apple USB Ethernet fails when wake-on-lan is enabled (as happens by
  default)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899498/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to