diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-08-07 15:13:00 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@gnu.org> | 2019-08-29 20:07:03 +0000 |
commit | f6d5490eebd22d2ce679442b03a72e110d113fa9 (patch) | |
tree | 8c0a3ac4c9945354f2a850b5652151c26b6c0886 /src/mm-filter.c | |
parent | 118b19bb751cfd7821b95528cc18483c7285465f (diff) |
udev: remove ID_MM_PLATFORM_DRIVER_PROBE tag
This tag is completely redundant because users can whitelist the
platform TTY ports to use with the more generic ID_MM_DEVICE_PROCESS
tag, which is part of the explicit whitelist filter rule.
Diffstat (limited to 'src/mm-filter.c')
-rw-r--r-- | src/mm-filter.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mm-filter.c b/src/mm-filter.c index 743d438e..bc7d378d 100644 --- a/src/mm-filter.c +++ b/src/mm-filter.c @@ -121,12 +121,8 @@ mm_filter_port (MMFilter *self, !g_strcmp0 (physdev_subsystem, "pci") || !g_strcmp0 (physdev_subsystem, "pnp") || !g_strcmp0 (physdev_subsystem, "sdio"))) { - if (!mm_kernel_device_get_global_property_as_boolean (port, ID_MM_PLATFORM_DRIVER_PROBE)) { - mm_dbg ("[filter] (%s/%s): port filtered: port's parent platform driver is not whitelisted", subsystem, name); - return FALSE; - } - mm_dbg ("[filter] (%s/%s): port allowed: port's parent platform driver is whitelisted", subsystem, name); - return TRUE; + mm_dbg ("[filter] (%s/%s): port filtered: tty platform driver", subsystem, name); + return FALSE; } /* Default allowed? */ |