Re: usb autosuspend is history after S2R (also on 2.6.31; UVC?)

From: Francois Romieu
Date: Wed Sep 16 2009 - 15:47:15 EST


Andreas Mohr <andi@xxxxxxxx> :
[...]
> Anyway, doesn't change the fact that the r8169 WOL PHY setting is toast
> after every S2R as well ;)

Stealth tester, he ?

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 50c6a3c..e0af22f 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3962,8 +3962,7 @@ static int rtl8169_resume(struct device *device)
goto out;

netif_device_attach(dev);
-
- rtl8169_schedule_work(dev, rtl8169_reset_task);
+ netif_wake_queue(dev);
out:
return 0;
}

--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/