USB-CDC: Correct freeing usb requests
authorVitaly Kuzmichev <vkuzmichev@mvista.com>
Fri, 13 Aug 2010 13:00:16 +0000 (17:00 +0400)
committerRemy Bohmer <linux@bohmer.net>
Mon, 20 Sep 2010 19:57:17 +0000 (21:57 +0200)
commit0129e327f424f61a9123de44c73fe1082adb3672
treef94426fc036b077267f22f06d3d3bdde99888ab1
parent7de731859158144cf2abf1de4e79327c8a44baf8
USB-CDC: Correct freeing usb requests

Fix in_ep and out_ep confusion (rx_req was allocated from out_ep, not
from in_ep) and add lost dev->req freeing.

Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
drivers/usb/gadget/ether.c