From: Jean-Christophe Dubois Date: Thu, 13 Mar 2008 22:56:36 +0000 (-0800) Subject: rndis_host: fix transfer size negotiation X-Git-Tag: v2.6.25-rc7~54^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d0f27c1baa4a094b4965708a15f2b0c4d65f5e;p=pandora-kernel.git rndis_host: fix transfer size negotiation This patch should resolve a problem that's troubled support for some RNDIS peripherals. It seems to have boiled down to using a variable to establish transfer size limits before it was assigned, which caused those devices to fallback to a default "jumbogram" mode we don't support. Fix by assigning it earlier for RNDIS. Signed-off-by: Jean-Christophe Dubois [ cleanups ] Signed-off-by: David Brownell Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed