From: Maulik Mankad Date: Fri, 29 May 2009 13:04:40 +0000 (+0530) Subject: USB: gadget : Fix RNDIS code to pass USB Compliance tests (USBCV) with g_ether X-Git-Tag: v2.6.31-rc1~304^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=830d1b188c997c4af094d4e20b194205ddbded13;p=pandora-kernel.git USB: gadget : Fix RNDIS code to pass USB Compliance tests (USBCV) with g_ether This patch fixes a bug in the RNDIS code. Due to this bug gether_connect() fails as the port remains un-initialized. As a result following USB Compliance Tests were failing. (1)EndpointDescriptorTest_DeviceConfigured (2)Interface Descriptor Test. (3)Halt Endpoint Test. (4)SetConfigurationTest The fix aligns rndis code with the CDC ECM for xxx_set_alt(). The above listed USB Compliance test passes with this fix. Tested working fine on SDP with OMAP 3430. Signed-off-by: Maulik Mankad CC: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed