]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit19b2a93405801e9845a4b0d76150ac30191839d1
tree188ea620ae1b8926caf6eeb28e42f4f5375d8753
parent5ec5681781ee06daceb57c14fd89616570464534
[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