Skip to content
Commit a3088abc authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: wacom: fixup quirks setup for WACOM_DEVICETYPE_PAD



Given that INTUOSHT < BAMBOO_PT

	features->type >= INTUOSHT || features->type <= BAMBOO_PT

condition is always true, and therefore device_type is under certain
circumstances wrongly set with WACOM_DEVICETYPE_PAD bit set.

Fix the condition so that it actually represents the range as intended.

Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ff38e829
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment