diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-11 11:41:43 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-04 11:15:18 +0000 |
commit | b2621b4336b5fffd03ce34a85b568910bc373bb2 (patch) | |
tree | 07245b7fe408ef23371b7acf715b7f2adbf9d496 /plugins | |
parent | 824ad11356f82b5b91d557fa22b88c445ccc777c (diff) |
huawei: plugin already processes generic tags
So don't re-process them in the generic modem when grabbing the port.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/huawei/mm-plugin-huawei.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/huawei/mm-plugin-huawei.c b/plugins/huawei/mm-plugin-huawei.c index 5cf560be..eda6bf05 100644 --- a/plugins/huawei/mm-plugin-huawei.c +++ b/plugins/huawei/mm-plugin-huawei.c @@ -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, |