Skip to content
Snippets Groups Projects
Commit 22dae167 authored by Simon McVittie's avatar Simon McVittie Committed by Alexandre Julliard
Browse files

winebus.sys: Treat udev actions other than "remove" as "add".

As per https://github.com/systemd/systemd/blob/v247-rc1/NEWS#L5


there are more kernel uevent types than just "add" and "remove",
and we should be treating everything other than "remove" as being
potentially an "add".

To cope with this, try_add_device() now checks whether the same device
was already added. If so, we ignore it.

Signed-off-by: default avatarRémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 1431608e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment