From 38d7cc6683008394f51cadc6b66446ba96c5f388 Mon Sep 17 00:00:00 2001 From: Bob Ham Date: Tue, 4 Feb 2020 11:09:45 +0000 Subject: [PATCH] broadband-modem: add secondary AT port to in-call port context The BroadMobi BM818 sends URCs on the secondary port which are currently missed. To fix this, we include the secondary port in the port context. --- src/mm-broadband-modem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 4b81c6a3..61ceae8b 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -7673,7 +7673,7 @@ modem_voice_setup_in_call_unsolicited_events (MMIfaceModemVoice *_self, mm_dbg ("Setting up in-call ports context"); ctx = ports_context_new (); - if (!ports_context_open (self, ctx, FALSE, FALSE, FALSE, &error)) { + if (!ports_context_open (self, ctx, FALSE, TRUE, FALSE, &error)) { ports_context_unref (ctx); g_prefix_error (&error, "Couldn't open ports in-call: "); } else {