diff options
-rw-r--r-- | plugins/wavecom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/wavecom.c b/plugins/wavecom.c index eab3abd0..8ac2d24e 100644 --- a/plugins/wavecom.c +++ b/plugins/wavecom.c @@ -93,9 +93,8 @@ static int wavecom_enable(struct ofono_modem *modem) g_hash_table_destroy(options); - if (!channel) { + if (!channel) return -EIO; - } /* Could not figure out whether it is fully compliant or not */ syntax = g_at_syntax_new_gsm_permissive(); |