mdm6600: Fix urb ref count and error conditions
authorBenoit Goby <benoit@android.com>
Thu, 11 Nov 2010 20:37:01 +0000 (12:37 -0800)
committerBenoit Goby <benoit@android.com>
Fri, 12 Nov 2010 23:01:20 +0000 (15:01 -0800)
commitb1ba5720c4922eeedf931fd3d7044fe61c2df03b
tree9f97e839d210d319e6979a15acf6afd8723f2ae8
parent624a4598dd97fac281f40c3b0c51be6eb63e8cf2
mdm6600: Fix urb ref count and error conditions

Fix possible use after free and a memory leak on disconnect

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