diff options
| author | Benjamin Tissoires <[email protected]> | 2017-03-27 14:59:29 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-04-06 12:36:37 +0000 |
| commit | eb626c573219233bfd330fef9066e7f9530b078e (patch) | |
| tree | 61166c333048bb03abe8c6892444112b8c235c83 /net/unix/af_unix.c | |
| parent | HID: logitech-hidpp: rework hidpp_connect_event() (diff) | |
| download | kernel-eb626c573219233bfd330fef9066e7f9530b078e.tar.gz kernel-eb626c573219233bfd330fef9066e7f9530b078e.zip | |
HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event()
Battery events are reported through HID++, so we need to be sure
the report ID is the HID++ one.
Without this, we might receive keyboard events that looks just like
battery events with wrong data and which will confuse user space.
Signed-off-by: Benjamin Tissoires <[email protected]>
Tested-by: Bastien Nocera <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
