[PATCH] base-bearer: stop connection status monitoring if no TTY available

Aleksander Morgado aleksander at aleksander.es
Fri Mar 24 20:20:59 UTC 2017


On Fri, Mar 24, 2017 at 9:15 PM, Dan Williams <dcbw at redhat.com> wrote:
>> +    /* If CID not defined, error out */
>>      if (!MM_BROADBAND_BEARER (self)->priv->cid) {
>> -        g_task_return_new_error (task, MM_CORE_ERROR,
>> MM_CORE_ERROR_FAILED,
>> +        g_task_return_new_error (task, MM_CORE_ERROR,
>> MM_CORE_ERROR_UNSUPPORTED,
>
> Did you mean to change this case from FAILED -> UNSUPPORTED?

Yes, but on a second thought, you're right, that should be kept
FAILED. I'll update it.


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list