From 8392f30388b04cd0ab8fd41bca9d7788249c1c1b Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 25 Apr 2025 21:32:14 -0500 Subject: base-call: split AT-specific call code into MMCallAt Signed-off-by: Dan Williams --- src/mm-broadband-modem.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/mm-broadband-modem.c') 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 */ } /*****************************************************************************/ -- cgit v1.2.3-70-g09d2