diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-22 22:15:52 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2019-08-29 17:36:06 +0000 |
commit | b954f4760a2ef9f289f5ccc08644db3c5d1cad73 (patch) | |
tree | 7b95bc96937aa703f47b1a5b1e637e52acc4383a | |
parent | ee8695178d8176d5e1e3e7c38a0b5a2cfa96b4ad (diff) |
quectel: allow tty-only devices
-rw-r--r-- | plugins/quectel/mm-plugin-quectel.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/quectel/mm-plugin-quectel.c b/plugins/quectel/mm-plugin-quectel.c index 85d9314b..383b08c1 100644 --- a/plugins/quectel/mm-plugin-quectel.c +++ b/plugins/quectel/mm-plugin-quectel.c @@ -67,18 +67,18 @@ G_MODULE_EXPORT MMPlugin * mm_plugin_create (void) { static const gchar *subsystems[] = { "tty", "net", "usb", NULL }; + static const gchar *vendor_strings[] = { "quectel", NULL }; static const guint16 vendor_ids[] = { 0x2c7c, 0 }; - static const gchar *drivers[] = { "qmi_wwan", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_QUECTEL, - MM_PLUGIN_NAME, "Quectel", - MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, - MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, - MM_PLUGIN_ALLOWED_DRIVERS, drivers, - MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, - MM_PLUGIN_ALLOWED_QMI, TRUE, + MM_PLUGIN_NAME, "Quectel", + MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, + MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, + MM_PLUGIN_ALLOWED_VENDOR_STRINGS, vendor_strings, + MM_PLUGIN_ALLOWED_AT, TRUE, + MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_ALLOWED_QMI, TRUE, NULL)); } |