[PATCH] USB: Anydata: Fixes wrong URB callback.
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 11 Jul 2006 17:19:25 +0000 (14:19 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:25 +0000 (16:03 -0700)
commit166ffccfd4556ac6a777982d193ae145bb0a21e0
tree0312cc2247c9cd37db18cfa3600483c4da070945
parenta353678d3136306c1d00f0d2319de1dac8a6b1db
[PATCH] USB: Anydata: Fixes wrong URB callback.

 Anydata is using usb_serial_generic_write_bulk_callback() for its
read URB, but it should use usb_serial_generic_read_bulk_callback()
instead (it's a read URB, isn't it?).

 Reported by Jon K Hellan <hellan@acm.org>.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/anydata.c
drivers/usb/serial/generic.c