BTNChannel is static for all devices, not just geneic devices.

Signed-off-by: Ping Cheng <pingli...@gmail.com>
---
 src/wcmUSB.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 4c83cf3..3089581 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -461,11 +461,7 @@ static void usbWcmInitPadState(InputInfoPtr pInfo)
        ds->device_id = PAD_DEVICE_ID;
        ds->serial_num = channel;
 
-       /* wcmBTNChannel is only used for generic PAD device
-        * and it is statically assigned to PAD_CHANNEL.
-        */
-       if (common->wcmProtocolLevel == WCM_PROTOCOL_GENERIC)
-               private->wcmBTNChannel = channel;
+       private->wcmBTNChannel = channel;
 }
 
 int usbWcmGetRanges(InputInfoPtr pInfo)
-- 
1.7.10.4


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to