[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANEJEGud6++PGHRZGt1xMonX1XvxeU19Wd3YNsbgLQG+uQi47g@mail.gmail.com>
Date: Sun, 11 Dec 2011 15:29:38 -0800
From: Grant Grundler <grundler@...omium.org>
To: Eugene <elubarsky@...il.com>
Cc: netdev@...r.kernel.org, Freddy Xin <freddy@...x.com.tw>,
Allan Chou <allan@...x.com.tw>
Subject: Re: drivers/net/usb/asix: bug in asix_get_wol
[+freddy/allan @ ASIX]
On Sat, Dec 10, 2011 at 5:02 PM, Eugene <elubarsky@...il.com> wrote:
> Dear kernel devs,
>
> Thanks for the commit at
> http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=4ad1438f025ed8d1e4e95a796ca7f0ad5a22c378,
> It successfully stops my adapter from dying when wake-on-lan gets
> enabled.
Hi Eugene!
thanks for the "it works!" report.
> However, I've noticed that it has broken asix_get_wol - the
> lines
>
> if (opt & AX_MONITOR_LINK)
> wolinfo->wolopts |= WAKE_PHY;
> if (opt & AX_MONITOR_MAGIC)
> wolinfo->wolopts |= WAKE_MAGIC;
>
> have been accidentally removed.
This wasn't by accident. This comment in the commit log perhaps
doesn't explain sufficiently:
| Remove MONITOR_MODE. In this mode, Received packets are not buffered when
| the remote wakeup is enabled.
> The vendor driver has them, and I've
> successfully tested a kernel with these lines included. The change is
> too small for me to bother sending in a properly formatted patch...
"Too small"? No such thing. :)
cheers,
grant
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists