huawei: plugin already processes generic tags

So don't re-process them in the generic modem when grabbing the port.
This commit is contained in:
Aleksander Morgado
2020-11-04 11:15:18 +00:00
parent 824ad11356
commit b2621b4336
4 changed files with 22 additions and 5 deletions
+4
View File
@@ -695,6 +695,10 @@ grab_port (MMPlugin *self,
mm_port_probe_get_port_name (probe),
str);
g_free (str);
} else {
/* The huawei plugin handles the generic udev tags itself, so explicitly request
* to avoid processing them by the generic modem. */
pflags = MM_PORT_SERIAL_AT_FLAG_NONE_NO_GENERIC;
}
return mm_base_modem_grab_port (modem,