From 7e5e6c691207185e08f37b440bbac8b6430f90c7 Mon Sep 17 00:00:00 2001 From: Sonya Sireneva Date: Fri, 23 May 2025 22:43:18 +0300 Subject: [PATCH] Fix generic driver not attaching to virtual ports Since c2e3a8c10e6d398ef79067666c976fe6e8fb190e, the generic plugin was not able to attach to virtual ports, because they have no associated driver, and the probe fails with "port filtered as couldn't retrieve driver". It seems that this driver check was accidentially introduced and is not really necessary, as there isn't a special "XMMRPC driver" to blacklist. Signed-off-by: Sonya Sireneva --- src/mm-plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mm-plugin.c b/src/mm-plugin.c index bacbd316..a22302a4 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -285,8 +285,7 @@ apply_pre_probing_filters (MMPlugin *self, if (self->priv->drivers || self->priv->forbidden_drivers || !self->priv->qmi || - !self->priv->mbim || - !self->priv->xmmrpc) { + !self->priv->mbim) { static const gchar *virtual_drivers [] = { "virtual", NULL }; const gchar **drivers;