Skip to content
Commit 29ff6657 authored by Simon Wood's avatar Simon Wood Committed by Jiri Kosina
Browse files

HID: logitech: Prevent possibility of infinite loop when using /sys interface



If the device data is not accessible for some reason, returning 0 will cause the call to be
continuously called again as none of the string has been 'consumed'.

Signed-off-by: default avatarSimon Wood <simon@mungewell.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent daebdd7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment