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.
This commit is contained in:
Bob Ham
2020-02-06 15:16:46 +00:00
parent e128210a27
commit 38d7cc6683
+1 -1
View File
@@ -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 {