aboutsummaryrefslogtreecommitdiff
path: root/src/mm-broadband-modem.c
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-04-25 21:32:14 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-30 07:57:50 -0500
commit8392f30388b04cd0ab8fd41bca9d7788249c1c1b (patch)
tree465735b0ccfd5d1d54792c609b9932b400e0dbdb /src/mm-broadband-modem.c
parent3ed7f378765b45a84ce6c0b4de6751769fefc221 (diff)
base-call: split AT-specific call code into MMCallAt
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-broadband-modem.c')
-rw-r--r--src/mm-broadband-modem.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index 3d02553d..3d9cec56 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -50,6 +50,7 @@
#include "mm-bearer-list.h"
#include "mm-cbm-list.h"
#include "mm-cbm-part.h"
+#include "mm-call-at.h"
#include "mm-sms-list.h"
#include "mm-sms-part-3gpp.h"
#include "mm-sms-at.h"
@@ -8902,16 +8903,16 @@ modem_voice_create_call (MMIfaceModemVoice *_self,
{
MMBroadbandModem *self = MM_BROADBAND_MODEM (_self);
- return mm_base_call_new (MM_BASE_MODEM (self),
- G_OBJECT (self),
- direction,
- number,
- /* If +CLCC is supported, we want no incoming timeout.
- * Also, we're able to support detailed call state updates without
- * additional vendor-specific commands. */
- self->priv->clcc_supported, /* skip incoming timeout */
- self->priv->clcc_supported, /* dialing->ringing supported */
- self->priv->clcc_supported); /* ringing->active supported */
+ return mm_call_at_new (MM_BASE_MODEM (self),
+ G_OBJECT (self),
+ direction,
+ number,
+ /* If +CLCC is supported, we want no incoming timeout.
+ * Also, we're able to support detailed call state updates without
+ * additional vendor-specific commands. */
+ self->priv->clcc_supported, /* skip incoming timeout */
+ self->priv->clcc_supported, /* dialing->ringing supported */
+ self->priv->clcc_supported); /* ringing->active supported */
}
/*****************************************************************************/