From 3934972a48dd886194cb63dc24ca5129994a9171 Mon Sep 17 00:00:00 2001 From: sharan m Date: Fri, 11 Apr 2014 15:02:09 +0530 Subject: [PATCH] fix get sim language issue Change-Id: I9e28341a7bfcc48ce1e9a57f6930c38317ee1890 --- src/imc_sim.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imc_sim.c b/src/imc_sim.c index 955818c..f670077 100644 --- a/src/imc_sim.c +++ b/src/imc_sim.c @@ -926,6 +926,7 @@ static void __imc_sim_next_from_get_response(CoreObject *co, ImcRespCbData *resp break; case TEL_SIM_EF_LP: + case TEL_SIM_EF_USIM_LI: if (sim_result == TEL_SIM_RESULT_SUCCESS) { dbg("[SIM DATA] exist EFLP/LI(0x6F05)"); __imc_sim_read_binary(co, resp_cb_data); @@ -3199,7 +3200,6 @@ static TelReturn imc_sim_get_language (CoreObject *co, dbg("Entry"); IMC_SIM_READ_FILE(co, cb, cb_data, TEL_SIM_EF_LP, ret); - return ret; } @@ -3210,8 +3210,6 @@ static TelReturn imc_sim_set_language (CoreObject *co, ImcSimMetaInfo file_meta = {0, }; TelSimCardType card_type = TEL_SIM_CARD_TYPE_UNKNOWN; ImcRespCbData *resp_cb_data = NULL; - char *tmp = NULL; - int tmp_len = 0; char *encoded_data = NULL; int encoded_data_len = 0; int p1 = 0; -- 2.7.4