diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 848a56c0279c8ac61687340c732521094428e541..6113996d5f7021cebaa502c727e18d5efcd7689b 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -362,7 +362,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item) case HID_GLOBAL_ITEM_TAG_REPORT_SIZE: parser->global.report_size = item_udata(item); - if (parser->global.report_size > 32) { + if (parser->global.report_size > 96) { dbg_hid("invalid report_size %d\n", parser->global.report_size); return -1;