hid: roccat-kone: fix off-by-one bug in attributes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 04:56:46 +0000 (21:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 04:56:46 +0000 (21:56 -0700)
commit515ad4d678128affa7788a685d79664463f3b1e3
tree7ee09925cc25e6a69372aa35c275bfab649ef643
parent975b53cc903033b7ac30a37e06452394d6734018
hid: roccat-kone: fix off-by-one bug in attributes

Stefan pointed out that I messed up the array for the binary attributes,
so fix it properly.

Reported-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-roccat-kone.c