nicroets
Senior Member
I found that this change to TheRoDent's linux driver allows it to restart after a dropped connection. I use gentoo-2.6.10-r6. A bit of a hack.
Code:
diff -rub ipw/ipw.c newipw/ipw.c
--- ipw/ipw.c 2005-03-01 18:15:53.000000000 +0200
+++ newipw/ipw.c 2005-05-24 14:24:06.293751912 +0200
@@ -466,6 +466,7 @@
ipw->open_count = 0;
spin_unlock_irqrestore(&ipw->lock,flags);
+#if 0
/*--1: drop the dtr */
dbg("%s:dropping dtr",__FUNCTION__);
result = usb_control_msg(ipw->dev, usb_sndctrlpipe(ipw->dev,0),
@@ -520,6 +521,7 @@
if (result < 0)
err("Disabling bulk RxRead failed (error = %d)", result);
+#endif
/* shutdown any in-flight urbs that we know about */
usb_unlink_urb (ipw->read_urb);
usb_unlink_urb (ipw->write_urb);