aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hid/hid-logitech-hidpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index dd3c21b52de3..66cb1b59b674 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -805,6 +805,7 @@ static int wtp_raw_event(struct hid_device *hdev, u8 *data, int size)
805 input_event(wd->input, EV_KEY, BTN_RIGHT, 805 input_event(wd->input, EV_KEY, BTN_RIGHT,
806 !!(data[1] & 0x02)); 806 !!(data[1] & 0x02));
807 input_sync(wd->input); 807 input_sync(wd->input);
808 return 0;
808 } else { 809 } else {
809 if (size < 21) 810 if (size < 21)
810 return 1; 811 return 1;