plugin: don't match generic plugin by name

This commit is contained in:
Aleksander Morgado
2020-04-08 17:53:42 +02:00
parent 4b058872a0
commit 93e4c8625b
5 changed files with 39 additions and 15 deletions
+2 -1
View File
@@ -95,7 +95,8 @@ mm_plugin_create (void)
return MM_PLUGIN (
g_object_new (MM_TYPE_PLUGIN_GENERIC,
MM_PLUGIN_NAME, MM_PLUGIN_GENERIC_NAME,
MM_PLUGIN_NAME, MM_MODULE_NAME,
MM_PLUGIN_IS_GENERIC, TRUE,
MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems,
MM_PLUGIN_ALLOWED_AT, TRUE,
MM_PLUGIN_ALLOWED_QCDM, TRUE,
+1 -1
View File
@@ -51,7 +51,7 @@ test_enable_disable (TestFixture *fixture)
/* Set the test profile */
test_fixture_set_profile (fixture,
"test-enable-disable",
"Generic",
"generic",
(const gchar *const *)ports);
/* Wait and get the modem object */