filter: fix option1 driver name
This was preventing TTY-only ZTE and Huawei modules from being grabbed in STRICT mode. https://bugs.freedesktop.org/show_bug.cgi?id=106253 https://bugs.freedesktop.org/show_bug.cgi?id=106234
This commit is contained in:
@@ -127,7 +127,7 @@ mm_filter_port (MMFilter *self,
|
||||
/* If the TTY kernel driver is one expected modem kernel driver, allow it */
|
||||
driver = mm_kernel_device_get_driver (port);
|
||||
if ((self->priv->enabled_rules & MM_FILTER_RULE_TTY_DRIVER) &&
|
||||
(!g_strcmp0 (driver, "option") ||
|
||||
(!g_strcmp0 (driver, "option1") ||
|
||||
!g_strcmp0 (driver, "qcserial") ||
|
||||
!g_strcmp0 (driver, "sierra"))) {
|
||||
mm_dbg ("[filter] (%s/%s): port allowed: modem-specific kernel driver detected", subsystem, name);
|
||||
|
Reference in New Issue
Block a user