Skip to content
Commit cd8a9ccb 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)
parent 2fa3d5f2
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