summaryrefslogtreecommitdiffstats
path: root/plugins/gobi.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gobi.c')
-rw-r--r--plugins/gobi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gobi.c b/plugins/gobi.c
index 5846485c..16bb0ed1 100644
--- a/plugins/gobi.c
+++ b/plugins/gobi.c
@@ -251,7 +251,7 @@ static void gobi_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,