From: David Brownell Date: Fri, 19 Jun 2009 10:09:04 +0000 (-0700) Subject: USB: RNDIS gadget, fix issues talking from PXA X-Git-Tag: v2.6.27.29~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=358a8a7674166d6cf2dbb1378151483844a54197;p=pandora-kernel.git USB: RNDIS gadget, fix issues talking from PXA commit 4e19f220d4e84f5728cb7edde36352ab425cfba4 upstream. The reworked Ethernet gadget has an RNDIS interop problem when used with the CDC subset driver ... e.g. on PXA 2xx and 3xx hardware, which currently has a hard time talking to MS-Windows hosts. The issue is that Microsoft requires USB_CLASS_COMM. Fix by tweaking the CDC subset driver to not switch to USB_CLASS_VENDOR_SPEC if RNDIS is used in some other device configuration. [ UPDATED: some "statements" were comma-terminated; fix that. ] Signed-off-by: David Brownell Cc: Aric Blumer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed