From: David Brownell Date: Sun, 16 Nov 2008 03:53:21 +0000 (-0800) Subject: USB: gadget rndis: stop windows self-immolation X-Git-Tag: v2.6.28-rc6~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c264521a9f836541c122b00f505cfd60cc5bbb5;p=pandora-kernel.git USB: gadget rndis: stop windows self-immolation Somewhere in the conversion of the RNDIS gadget code to the new framework, the descriptor of its data interface seems to have been copied from the CDC Ethernet driver. Unfortunately that means it got a nonzero altsetting ... which is incorrect. Issue uncovered by Richard Röjfors . This patch fixes that problem, and resolves at least some cases of Windows XP bluescreening itself. Tested-by: Richard Röjfors . Signed-off-by: David Brownell Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed