diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-generic-gsm.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index b63e0bae..7df27a2e 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -332,9 +332,14 @@ enable_done (MMSerialPort *port, { MMCallbackInfo *info = (MMCallbackInfo *) user_data; - if (error) - info->error = g_error_copy (error); - + /* Ignore power-up command errors, not all devices actually support + * CFUN=1. + */ + /* FIXME: instead of just ignoring errors, since we allow subclasses + * to override the power-on command, make a class function for powering + * on the phone and let the subclass decided whether it wants to handle + * errors or ignore them. + */ mm_callback_info_schedule (info); } |