USB-CDC: Correct stat_req initialization
authorVitaly Kuzmichev <vkuzmichev@mvista.com>
Fri, 13 Aug 2010 13:01:06 +0000 (17:01 +0400)
committerRemy Bohmer <linux@bohmer.net>
Mon, 20 Sep 2010 19:57:17 +0000 (21:57 +0200)
commitdf559c1d21ba1a9ee0dcec57567907888484d877
tree53355a982383c140206e260221ccdce80e6be987
parent2e12abe65410bcfa4c6058a8b81231d5d62a323c
USB-CDC: Correct stat_req initialization

Fix possible oops on stat_req->buf initialization and fix ep0 and
status_ep confusion (last one is just intended for stat_req keeping).

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