ofono/drivers/atmodem
Holger Hans Peter Freyther 2b9b1ae6d3 sim: Fix the quirk handling of CPIN for Wavecom
The Wavecom Q2XXX support broke in commit 72ce19bf3e.
This is because at_cpin_cb called decode_at_error with final and not
with OK. This lead to an error being set in the error variable and the
new code returns early when an error is set.

The addition of the terminator in at_sim_probe for Wavecom broke in
git commit ac524be99f because
terminators can not be added on cloned chats.

Move the addition of the terminator from the atmodem to the wavecom
plugin. Use the same terminator for Q2XXX and the normal Wavecom
class. The WAVECOM terminator has been tested on a Q2XXX modem.

Apply the CPIN quirk for both WAVECOM and WAVECOM_Q2XXX inside the
sim.c file. Introduce needs_wavecom_sim_quirk to handle it for
WAVECOM and WAVECOM_Q2XXX.
2012-11-01 04:56:51 -05:00
..
atmodem.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
atmodem.h drivers: Update copyright information 2011-10-10 13:39:48 -07:00
atutil.c atutil: Add destroy notify to sim_state_query 2012-04-18 04:06:43 -05:00
atutil.h atutil: Add destroy notify to sim_state_query 2012-04-18 04:06:43 -05:00
call-barring.c atmodem: specify class for call barring query 2012-09-05 15:04:18 -05:00
call-forwarding.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
call-meter.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
call-settings.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
call-volume.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
cbs.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
devinfo.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
gnss.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
gprs-context.c gprs-context: print reason for ppp disconnect 2012-08-13 08:38:30 -05:00
gprs.c gprs: data bearer for telit with PSNT 2012-08-16 01:10:56 -05:00
network-registration.c netreg: Remove netreg atom in case init fails 2012-09-11 23:21:48 -05:00
phonebook.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
sim-auth.c atmodem: remove NULL check 2011-01-29 18:39:37 +01:00
sim.c sim: Fix the quirk handling of CPIN for Wavecom 2012-11-01 04:56:51 -05:00
sms.c sms: Constify atmodem driver submit method 2012-06-16 09:50:05 -05:00
stk.c drivers: Update copyright information 2011-10-10 13:39:48 -07:00
stk.h drivers: Update copyright information 2011-10-10 13:39:48 -07:00
ussd.c atmodem: Remove ussd atom in case we fail to init 2012-04-16 13:15:52 -05:00
vendor.h drivers: add quirk for Wavecom Q2403/Q2686 modems 2012-05-30 00:03:10 -05:00
voicecall.c voicecall: Fix strange GTA04 modem CLCC behavior 2012-03-06 10:12:31 -06:00