Commit 3e145550 authored by Pauli Nieminen's avatar Pauli Nieminen Committed by Daniel Stone
Browse files

udev: Fix removing of the wake up handler

RemoveBlockAndWakeupHandlers requires caller to pass same block data
parameter as for RegisterBlockAndWakeupHandlers.
Signed-off-by: default avatarPauli Nieminen <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Daniel Stone's avatarDaniel Stone <>
parent 13ac3dee
......@@ -314,7 +314,7 @@ config_udev_fini(void)
udev = udev_monitor_get_udev(udev_monitor);
RemoveBlockAndWakeupHandlers(block_handler, wakeup_handler, udev_monitor);
RemoveBlockAndWakeupHandlers(block_handler, wakeup_handler, NULL);
udev_monitor = NULL;
Markdown is supported
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