diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2011-02-06 17:39:17 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 10:41:46 -0800 |
commit | ff085de758ebcb2309dd013fecb7cbb3cb6c7a43 (patch) | |
tree | 35803a695566a4f9daa921dcf87405ef679db885 /kernel/sysctl.c | |
parent | 66b0835e2bb3d345f060a47bb8c8f883bd25ec2b (diff) |
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 <jassi.brar@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions