mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
HID: core: fix hid delimiter local tag parsing.
When device with the DELIMITER tag in its report descriptor is encountered during parsing, it's mistakenly immediately refused by HID core for no justifiable reason. [jkosina@suse.cz: polish changelog] Signed-off-by: Paul Chavent <paul.chavent@onera.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
3366dd9fa8
commit
38ead6ef1d
@ -450,7 +450,7 @@ static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
|
||||
}
|
||||
parser->local.delimiter_depth--;
|
||||
}
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
case HID_LOCAL_ITEM_TAG_USAGE:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user