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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user