The current condition is always true.  From the context, it looks like
we should be checking if ->type == WACOM_24HDT.

Signed-off-by: Dan Carpenter <[email protected]>

diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 2c1e12b..858ad44 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -391,7 +391,7 @@ static int wacom_parse_hid(struct usb_interface *intf,
                                                        features->pktlen = 
WACOM_PKGLEN_TPC2FG;
                                                }
 
-                                               if (features->type == MTSCREEN 
|| WACOM_24HDT)
+                                               if (features->type == MTSCREEN 
|| features->type == WACOM_24HDT)
                                                        features->pktlen = 
WACOM_PKGLEN_MTOUCH;
 
                                                if (features->type == 
BAMBOO_PT) {
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to