summaryrefslogtreecommitdiffstats
path: root/tools/srs-test.c
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-10-15 08:24:47 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-10-15 09:18:15 +0200
commiteaeb7d1ba767453fdb79b11e860f8eba89db7762 (patch)
treedbc1fe7366b4c13189e10f74d78ae1d7683c2149 /tools/srs-test.c
parent635d94b64a7035605f702e33bb3bf9eab8eb6fac (diff)
downloadhardware_replicant_libsamsung-ril-eaeb7d1ba767453fdb79b11e860f8eba89db7762.tar.gz
hardware_replicant_libsamsung-ril-eaeb7d1ba767453fdb79b11e860f8eba89db7762.tar.bz2
hardware_replicant_libsamsung-ril-eaeb7d1ba767453fdb79b11e860f8eba89db7762.zip
Start converting to RIL_API >= 6compilation-test
- samsung-ril.c: RIL_RadioState radio_states sync with include/telephony/ril.h - call.c: RADIO_STATE_SIM_NOT_READY -> RADIO_STATE_ON => If radio on OK (previously it might have been to make calls with a SIM_NOT_READY, like emergency calls or calls on community networks) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tools/srs-test.c')
-rw-r--r--tools/srs-test.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/srs-test.c b/tools/srs-test.c
index ac91f1a..e460c57 100644
--- a/tools/srs-test.c
+++ b/tools/srs-test.c
@@ -38,7 +38,7 @@ void display_help(void)
printf("Commands:\n");
printf(" radio-state [STATE] - set radio state\n");
printf("\n");
- printf("States: off, unavailable, sim-not-ready, sim-locked-absent, sim-ready, on\n");
+ printf("States: off, unavailable, on\n");
}
int radio_state(struct srs_client *client, char *string)
@@ -46,9 +46,6 @@ int radio_state(struct srs_client *client, char *string)
struct radio_state_string radio_state_strings[] = {
{ "off", RADIO_STATE_OFF },
{ "unavailable", RADIO_STATE_UNAVAILABLE },
- { "sim-not-ready", RADIO_STATE_SIM_NOT_READY },
- { "sim-locked-absent", RADIO_STATE_SIM_LOCKED_OR_ABSENT },
- { "sim-ready", RADIO_STATE_SIM_READY },
{ "on", RADIO_STATE_ON },
};
struct srs_test_set_radio_state_data data;