From: Jassi Brar Date: Sun, 6 Feb 2011 08:39:17 +0000 (+0900) Subject: USB: Gadget: Composite: Debug interface comparison X-Git-Tag: v2.6.39-rc1~472^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff085de758ebcb2309dd013fecb7cbb3cb6c7a43;p=pandora-kernel.git USB: Gadget: Composite: Debug interface comparison While checking valid interface number we should compare MAX_CONFIG_INTERFACES with the variable 'intf' (which holds the lower 8bits of w_index) rather than 'w_index' Signed-off-by: Jassi Brar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed