[PATCH] USB: ipaq.c bugfixes
authorFrank Gevaerts <frank.gevaerts@fks.be>
Fri, 30 Jun 2006 09:34:44 +0000 (02:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:23 +0000 (16:03 -0700)
commitb512504e5671f83638be0ddb085c4b1832f623d3
tree188ea620ae1b8926caf6eeb28e42f4f5375d8753
parentb972b68c396cfa9f8af7e0b314e22705251bc218
[PATCH] USB: ipaq.c bugfixes

This patch fixes several problems in the ipaq.c driver with connecting
and disconnecting pocketpc devices:

* The read urb stayed active if the connect failed, causing nullpointer
  dereferences later on.

* If a write failed, the driver continued as if nothing happened. Now it
  handles that case the same way as other usb serial devices (fix by
  Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>)

Signed-off-by: Frank Gevaerts <frank.gevaerts@fks.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipaq.c