Skip to content
Commit 9b7e2295 authored by S. Fan's avatar S. Fan Committed by Zbigniew Jędrzejewski-Szmek
Browse files

rfkill: fix erroneous behavior when polling the udev monitor (#6489)

Comparing udev_device_get_sysname(device) and sysname will always return
true. We need to check the device received from udev monitor instead.

Also, fd_wait_for_event() sometimes never exits. Better set a timeout
here.

(cherry picked from commit 8ec1a079)
(cherry picked from commit cd8a9ccb)
(cherry picked from commit 638c0dba)
parent 7cf20aa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment