aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial-at.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-08-11 11:41:43 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-11-04 11:15:18 +0000
commitb2621b4336b5fffd03ce34a85b568910bc373bb2 (patch)
tree07245b7fe408ef23371b7acf715b7f2adbf9d496 /src/mm-port-serial-at.c
parent824ad11356f82b5b91d557fa22b88c445ccc777c (diff)
huawei: plugin already processes generic tags
So don't re-process them in the generic modem when grabbing the port.
Diffstat (limited to 'src/mm-port-serial-at.c')
-rw-r--r--src/mm-port-serial-at.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-port-serial-at.c b/src/mm-port-serial-at.c
index c8e4782f..b767ee3c 100644
--- a/src/mm-port-serial-at.c
+++ b/src/mm-port-serial-at.c
@@ -473,6 +473,8 @@ mm_port_serial_at_set_flags (MMPortSerialAt *self, MMPortSerialAtFlag flags)
{
g_return_if_fail (self != NULL);
g_return_if_fail (MM_IS_PORT_SERIAL_AT (self));
+
+ /* MM_PORT_SERIAL_AT_FLAG_NONE_NO_GENERIC is not expected */
g_return_if_fail (flags <= (MM_PORT_SERIAL_AT_FLAG_PRIMARY |
MM_PORT_SERIAL_AT_FLAG_SECONDARY |
MM_PORT_SERIAL_AT_FLAG_PPP |