[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804211345.12850.oliver@neukum.org>
Date: Mon, 21 Apr 2008 13:45:11 +0200
From: Oliver Neukum <oliver@...kum.org>
To: Paulius Zaleckas <paulius.zaleckas@...tonika.lt>
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [RFC] Patch to option HSO driver to the kernel
Am Freitag, 18. April 2008 17:18:29 schrieb Paulius Zaleckas:
>
> Oliver Neukum wrote:
> >
> > Hi,
> >
> > can you test this one as well. The method used to determine whether
> > a device is asleep is racy. This introduces a private test.
> >
> > Regards
> > Oliver
>
> By setting level "auto" it didn't suspend...
> When I tried to set "suspend" to the level I got crash:
Does this fix it?
Regards
Oliver
---
--- linux-2.6.25hso/drivers/net/usb/hso.c.alt3 2008-04-21 13:24:47.000000000 +0200
+++ linux-2.6.25hso/drivers/net/usb/hso.c 2008-04-21 13:25:18.000000000 +0200
@@ -2052,7 +2052,7 @@
}
if (serial->tx_urb)
- usb_kill_urb(serial->rx_urb[i]);
+ usb_kill_urb(serial->tx_urb);
if (serial->shared_int) {
mutex_lock(&serial->shared_int->shared_int_lock);
--
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