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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user