Skip to content
Commit c1e78695 authored by YueHaibing's avatar YueHaibing Committed by Paul Gortmaker
Browse files

HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices



commit dbcbabf7 upstream.

We should return 'retval' as the correct return value
instead of always zero.

Fixes: 74808f91 ("HID: logitech-dj: add support for non unifying receivers")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 4cf1bae5
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