From: Ingo van Lil Date: Fri, 28 Mar 2008 21:50:26 +0000 (-0700) Subject: USB: gadget: dummy_hcd.c: fix nested switch statements X-Git-Tag: v2.6.26-rc1~1061^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9063ff44f081a0297085952f6760dfe1f8ca840e;p=pandora-kernel.git USB: gadget: dummy_hcd.c: fix nested switch statements Fix a messed up combination of two nested switch statements in drivers/usb/gadget/dummy_hcd.c. According to the USB spec (section 5.8.3) the maximum packet size for bulk endpoints can be 512 for high-speed devices and 8, 16, 32 or 64 for full-speed devices. Low-speed devices must not have bulk endpoints. Signed-off-by: Ingo van Lil Cc: David Brownell Signed-off-by: Andrew Morton Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed