summaryrefslogtreecommitdiff
path: root/drivers/atmodem/sim.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-05-31 16:01:25 +0200
committerDenis Kenzior <denkenz@gmail.com>2012-05-31 09:48:12 -0500
commit78637b130daa91f88547d17e13d2b6c190f0e170 (patch)
tree732d1dfc75d10b1b95a0398816678995aabf96fe /drivers/atmodem/sim.c
parent8d319d0cca76a040d45a4737ff590f6f6b2bec34 (diff)
sim: Quirk Wavecom Q2XXX CPIN behavior
Diffstat (limited to 'drivers/atmodem/sim.c')
-rw-r--r--drivers/atmodem/sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c
index 603024d6..7b48cd9a 100644
--- a/drivers/atmodem/sim.c
+++ b/drivers/atmodem/sim.c
@@ -1305,6 +1305,9 @@ static int at_sim_probe(struct ofono_sim *sim, unsigned int vendor,
case OFONO_VENDOR_MBM:
g_at_chat_send(sd->chat, "AT*EPEE=1", NULL, NULL, NULL, NULL);
break;
+ case OFONO_VENDOR_WAVECOM_Q2XXX:
+ g_at_chat_add_terminator(chat, "+CPIN: READY", -1, TRUE);
+ break;
default:
break;
}