[bugfix][bug-view-1435][sim] if sim ready. sim status should be present, if not ready, state should be error
Only Configure:No
Affected branch:master
Affected module:sim
Is it affected on: only ASR
Self-test: Yes
Doc Update:No
Change-Id: I7e70fcbfc35c5d37883052496c18b2ce17e9dbcf
diff --git a/mbtk/libgsw_lib/gsw_sim_interface.c b/mbtk/libgsw_lib/gsw_sim_interface.c
index e4c5966..cdcc9a7 100755
--- a/mbtk/libgsw_lib/gsw_sim_interface.c
+++ b/mbtk/libgsw_lib/gsw_sim_interface.c
@@ -380,13 +380,13 @@
}
case MBTK_SIM_NOT_READY:
{
- *sim_state = SIM_STATUS_PRESENT;
+ *sim_state = SIM_STATUS_ERROR;// not SIM_STATUS_PRESENT, changed for gsw requirement, hq at 250606
break;
}
case MBTK_SIM_READY:
{
- *sim_state = SIM_STATUS_READY;
+ *sim_state = SIM_STATUS_PRESENT;// not SIM_STATUS_READY, changed for gsw requirement, hq at 250606
break;
}