usb: serial: Fix memory corruption in moto-flashmdm
authorBenoit Goby <benoit@android.com>
Tue, 10 Aug 2010 01:00:04 +0000 (18:00 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:33 +0000 (16:33 -0700)
commit1fa241ab56fc48acca8fdf165d4e7db49860bd49
tree98e16451d66ae27a4c5fb91fc9c7e58c02cda815
parent1c221a13a225f1de918eedc4af9223ee947e7b3b
usb: serial: Fix memory corruption in moto-flashmdm

moto_flashmdm_attach should also override bulk_out_buffers as
usb-serial expects they have the same size as bulk_out_buffer

Change-Id: I97487fa833ed3dee40a15c485ba8565944d0f9e4
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/serial/moto_flashmdm.c