altair-lte: use mm_base_modem_at_command_full{,_finish} correctly
This patch fixes own_enable_unsolicited_events_ready() to use mm_base_modem_at_command_full_finish(), instead of mm_base_modem_at_sequence_full_finish(), as the %STATCM=1 command is issued via mm_base_modem_at_command_full().
This commit is contained in:

committed by
Aleksander Morgado

parent
9aced8311b
commit
1eee8824fd
@@ -678,7 +678,7 @@ own_enable_unsolicited_events_ready (MMBaseModem *self,
|
|||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
mm_base_modem_at_sequence_full_finish (self, res, NULL, &error);
|
mm_base_modem_at_command_full_finish (self, res, &error);
|
||||||
if (error)
|
if (error)
|
||||||
g_simple_async_result_take_error (simple, error);
|
g_simple_async_result_take_error (simple, error);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user