diff options
Diffstat (limited to 'plugins/sierra.c')
-rw-r--r-- | plugins/sierra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sierra.c b/plugins/sierra.c index b3edcf4c..f387b985 100644 --- a/plugins/sierra.c +++ b/plugins/sierra.c @@ -195,7 +195,7 @@ static void sierra_set_online(struct ofono_modem *modem, ofono_bool_t online, DBG("modem %p %s", modem, online ? "online" : "offline"); - if (cbd == NULL || data->chat == NULL) + if (data->chat == NULL) goto error; if (g_at_chat_send(data->chat, command, NULL, |