summaryrefslogtreecommitdiffstats
path: root/ss.c
diff options
context:
space:
mode:
Diffstat (limited to 'ss.c')
-rw-r--r--ss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ss.c b/ss.c
index d05fa2f..d28221c 100644
--- a/ss.c
+++ b/ss.c
@@ -68,7 +68,7 @@ void ril_request_send_ussd(RIL_Token t, void *data, size_t length)
case IPC_SS_USSD_TIME_OUT:
LOGD("USSD Tx encoding is GSM7");
- data_enc_len = ascii2gsm7(data, (unsigned char**)&data_enc, length);
+ data_enc_len = ascii2gsm7_ussd(data, (unsigned char**)&data_enc, length);
if (data_enc_len > message_size) {
LOGE("USSD message size is too long, aborting");
ril_request_complete(t, RIL_E_GENERIC_FAILURE, NULL, 0);