aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorTomasz PakuĊ‚a <[email protected]>2025-02-25 22:30:04 +0000
committerJiri Kosina <[email protected]>2025-03-04 20:42:44 +0000
commite2fa0bdf08a70623f24ed52f2037a330999d9800 (patch)
treed6de4e4144a4201fd88ddc44a8c02a6b455100cc /net/unix/unix_bpf.c
parentHID: pidff: Fix 90 degrees direction name North -> East (diff)
downloadkernel-e2fa0bdf08a70623f24ed52f2037a330999d9800.tar.gz
kernel-e2fa0bdf08a70623f24ed52f2037a330999d9800.zip
HID: pidff: Fix set_device_control()
As the search for Device Control report is permissive, make sure the desired field was actually found, before trying to set it. Fix bitmask clearing as it was erronously using index instead of index - 1 (HID arrays index is 1-based). Add last two missing Device Control usages to the defined array. PID_PAUSE and PID_CONTINUE. Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions