USB: Gadget: Composite: Debug interface comparison
authorJassi Brar <jassi.brar@samsung.com>
Sun, 6 Feb 2011 08:39:17 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:41:46 +0000 (10:41 -0800)
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 <jassi.brar@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found