Skip to content
Commit 10d0f27c authored by Jean-Christophe Dubois's avatar Jean-Christophe Dubois Committed by Jeff Garzik
Browse files

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: default avatarJean-Christophe Dubois <jcd@tribudubois.net>
[ cleanups ]
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4373c932
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment