Support Huawei specific terminator
authorYang Gu <yang.gu@intel.com>
Tue, 24 Nov 2009 15:56:05 +0000 (23:56 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 24 Nov 2009 17:06:45 +0000 (18:06 +0100)
plugins/huawei.c

index 08f0e01..e83f9c1 100644 (file)
@@ -107,6 +107,7 @@ static int huawei_enable(struct ofono_modem *modem)
 
        syntax = g_at_syntax_new_gsmv1();
        data->chat = g_at_chat_new(channel, syntax);
+       g_at_chat_add_terminator(data->chat, "COMMAND NOT SUPPORT", -1, FALSE);
        g_at_syntax_unref(syntax);
        g_io_channel_unref(channel);