filter: add 'nozomi' and 'qcaux' drivers to MM_FILTER_RULE_TTY_DRIVER

nozomi and qcaux only drive modems and thus should be included
in this filter rule.  Allows nozomi/qcaux devices to work
automatically with strict filter mode.
This commit is contained in:
Dan Williams
2018-05-24 09:54:42 -05:00
parent aecc3e99a0
commit 67ecad51e1

View File

@@ -129,6 +129,8 @@ mm_filter_port (MMFilter *self,
if ((self->priv->enabled_rules & MM_FILTER_RULE_TTY_DRIVER) &&
(!g_strcmp0 (driver, "option1") ||
!g_strcmp0 (driver, "qcserial") ||
!g_strcmp0 (driver, "qcaux") ||
!g_strcmp0 (driver, "nozomi") ||
!g_strcmp0 (driver, "sierra"))) {
mm_dbg ("[filter] (%s/%s): port allowed: modem-specific kernel driver detected", subsystem, name);
return TRUE;