[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKh2mn6Chv8wJkMPm6G4xzRa0+29-A1BsnbZfia0ALxuthOjcw@mail.gmail.com>
Date: Wed, 28 Nov 2012 17:16:03 +0000
From: Steve Glendinning <steve@...well.net>
To: Bjørn Mork <bjorn@...k.no>
Cc: Alan Stern <stern@...land.harvard.edu>,
netdev <netdev@...r.kernel.org>, linux-usb@...r.kernel.org,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH 1/2] smsc75xx: refactor entering suspend modes
>> +
>> + ret = device_set_wakeup_enable(&net->dev, pdata->wolopts);
>
> You are touching the network device here. That should have been the USB
> device. Try something like
>
> ret = device_set_wakeup_enable(&dev->udev->dev, pdata->wolopts);
Perfect, this works exactly as expected now. Patch included in
resubmitted patchset, thanks Bjorn!
--
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