wavecom: Add peculiar CPIN as terminator behavior

This commit is contained in:
Holger Hans Peter Freyther 2012-11-01 10:05:03 +01:00 committed by Denis Kenzior
parent 2b9b1ae6d3
commit 6cacafe138
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ static int wavecom_enable(struct ofono_modem *modem)
if (chat == NULL)
return -ENOMEM;
g_at_chat_add_terminator(chat, "+CPIN:", 6, TRUE);
if (getenv("OFONO_AT_DEBUG"))
g_at_chat_set_debug(chat, wavecom_debug, "");