aboutsummaryrefslogtreecommitdiff
path: root/src/mm-at-serial-port.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-26 15:47:19 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-28 15:50:51 +0200
commit68421638f5c700cad8ae9fe105b94ea8e3733841 (patch)
tree57d8655891d35b698c232ec9f8fab14925641ff4 /src/mm-at-serial-port.c
parent79c93f4333868fc7aedaf1bf1302c2a00fc67d1c (diff)
at-serial-port: new flag to define the GPS control port
Diffstat (limited to 'src/mm-at-serial-port.c')
-rw-r--r--src/mm-at-serial-port.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mm-at-serial-port.c b/src/mm-at-serial-port.c
index f795bdd5..4a5afa4b 100644
--- a/src/mm-at-serial-port.c
+++ b/src/mm-at-serial-port.c
@@ -365,9 +365,12 @@ mm_at_serial_port_set_flags (MMAtSerialPort *self, MMAtPortFlag flags)
{
g_return_if_fail (self != NULL);
g_return_if_fail (MM_IS_AT_SERIAL_PORT (self));
- g_return_if_fail (flags <= (MM_AT_PORT_FLAG_PRIMARY | MM_AT_PORT_FLAG_SECONDARY | MM_AT_PORT_FLAG_PPP));
+ g_return_if_fail (flags <= (MM_AT_PORT_FLAG_PRIMARY |
+ MM_AT_PORT_FLAG_SECONDARY |
+ MM_AT_PORT_FLAG_PPP |
+ MM_AT_PORT_FLAG_GPS_CONTROL));
- MM_AT_SERIAL_PORT_GET_PRIVATE (self)->flags = flags;
+ MM_AT_SERIAL_PORT_GET_PRIVATE (self)->flags = flags;
}
MMAtPortFlag