>
>> You cannot mix in the same async method a code execution path using
>> mm_base_modem_at_command() with another one using GSimpleAsyncResult and
>> completion in idle. When you use mm_base_modem_at_command(), in
>> finish() you're expected to use mm_base_modem_at_command_finish(), like
>> yo
On Jan 4, 2013 12:58 AM, "Aleksander Morgado" wrote:
> You cannot mix in the same async method a code execution path using
> mm_base_modem_at_command() with another one using GSimpleAsyncResult and
> completion in idle. When you use mm_base_modem_at_command(), in
> finish() you're expected to us
Thanks for the notes. Submitted patch v3.
- Ben
On Thu, Jan 3, 2013 at 3:58 PM, Aleksander Morgado wrote:
>
> > +static GList *
> > +scan_networks_finish (MMIfaceModem3gpp *self,
> > + GAsyncResult *res,
> > + GError **error)
> > +{
> > +const gcha
> +static GList *
> +scan_networks_finish (MMIfaceModem3gpp *self,
> + GAsyncResult *res,
> + GError **error)
> +{
> +const gchar *result;
> +
> +result = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res,
> error);
> +if (!result)
>
---
plugins/novatel/mm-broadband-modem-novatel-lte.c | 72 +-
src/mm-iface-modem.c | 20 ++
src/mm-iface-modem.h |3 +
3 files changed, 94 insertions(+), 1 deletions(-)
diff --git a/plugins/novatel/mm-broadban