[Bugfix][T106BUG-557]fix qser_sim_changepin error
Only Configure: No
Affected branch: master
Affected module: SIM
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Iee68b0c355881309c1aeae8dadc2a21f9c4c4c7a
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-sim/lynq_sim.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-sim/lynq_sim.cpp
index cc423f9..9c7f6a2 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-sim/lynq_sim.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-sim/lynq_sim.cpp
@@ -680,7 +680,8 @@
Parcel *p;
//res = lynq_send_common_request(&p,RIL_REQUEST_CHANGE_SIM_PIN,2,1,"%s %s\n", old_pin, new_pin);
- int ret=lynq_send_common_request(p,g_wait_time,RIL_REQUEST_CHANGE_SIM_PIN,2,"%s %s", old_pin, new_pin);
+ res = lynq_send_common_request(p,g_wait_time,RIL_REQUEST_CHANGE_SIM_PIN,2,"%s %s", old_pin, new_pin);
+
if(res != 0)
{
RLOGD("function %s execute error", __FUNCTION__);