From 1f7bb908ebc40d42f5e83d6cf5671e168577b87e Mon Sep 17 00:00:00 2001 From: Torgny Johansson Date: Sat, 19 Sep 2009 11:37:16 -0700 Subject: [PATCH] mbm: fix up +PACSP0 unsolicited response matching --- plugins/mm-modem-mbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mm-modem-mbm.c b/plugins/mm-modem-mbm.c index 3267402c..c9a69e5e 100644 --- a/plugins/mm-modem-mbm.c +++ b/plugins/mm-modem-mbm.c @@ -718,7 +718,7 @@ grab_port (MMModem *modem, mm_serial_port_add_unsolicited_msg_handler (MM_SERIAL_PORT (port), regex, mbm_e2nap_received, modem, NULL); g_regex_unref (regex); - regex = g_regex_new ("\\r\\n\\+PACSP0\\r\\n\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); + regex = g_regex_new ("\\r\\n\\+PACSP0\\r\\n", G_REGEX_RAW | G_REGEX_OPTIMIZE, 0, NULL); mm_serial_port_add_unsolicited_msg_handler (MM_SERIAL_PORT (port), regex, mbm_pacsp0_received, modem, NULL); g_regex_unref (regex);