diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-09-07 17:27:46 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-09-07 17:27:46 +0200 |
commit | 7fafa00a882adc2568e768223e0aad6a3790a872 (patch) | |
tree | fcec8aa30dc284831eafeb36e9f9a1c3a9321935 /sec.c | |
parent | b0dfba56bf5eb32f30efa4f95818fee9afeba7f5 (diff) | |
download | hardware_ril_samsung-ril-7fafa00a882adc2568e768223e0aad6a3790a872.zip hardware_ril_samsung-ril-7fafa00a882adc2568e768223e0aad6a3790a872.tar.gz hardware_ril_samsung-ril-7fafa00a882adc2568e768223e0aad6a3790a872.tar.bz2 |
GPRS: Fixed style, compat and RIL_VERSION < 6 return data on SETUP_DATA_CALL
SEC/SMS: Fixed compat
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'sec.c')
-rw-r--r-- | sec.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -90,7 +90,11 @@ void ril_state_update(SIM_Status status) switch(status) { case SIM_READY: - radio_state = COMPAT_RADIO_STATE_ON; +#if RIL_VERSION >= 7 + radio_state = RADIO_STATE_ON; +#else + radio_state = RADIO_STATE_SIM_READY; +#endif break; case SIM_NOT_READY: radio_state = RADIO_STATE_SIM_NOT_READY; |