diff options
author | Jeroen Elebaut <J.Elebaut@option.com> | 2009-10-16 14:41:12 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-10-16 14:41:12 -0700 |
commit | 6bc4f0ae8cad621e11d882d2b3813765c86156c2 (patch) | |
tree | 20ac65ebcd17141e41c192835719a61bb2587a25 | |
parent | 16f3e00f3438507aee06ffcaee560e337b8e8279 (diff) |
hso: handle OWANCALL response better
-rw-r--r-- | plugins/mm-modem-hso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-modem-hso.c b/plugins/mm-modem-hso.c index 7f7703a4..6e1f768a 100644 --- a/plugins/mm-modem-hso.c +++ b/plugins/mm-modem-hso.c @@ -627,7 +627,7 @@ grab_port (MMModem *modem, mm_generic_gsm_set_unsolicited_registration (gsm, TRUE); - regex = g_regex_new ("_OWANCALL: (\\d), (\\d)\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + regex = g_regex_new ("_OWANCALL: (\\d),\\s*(\\d)\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); mm_serial_port_add_unsolicited_msg_handler (MM_SERIAL_PORT (port), regex, connection_enabled, modem, NULL); g_regex_unref (regex); } |