* [PATCH] sim: fix issue in triggering EFest read
@ 2010-11-29 14:50 Jeevaka Badrappan
2010-11-29 16:57 ` Jeevaka Badrappan
0 siblings, 1 reply; 3+ messages in thread
From: Jeevaka Badrappan @ 2010-11-29 14:50 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
---
src/sim.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/sim.c b/src/sim.c
index e5e304c..5a84833 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1445,7 +1445,11 @@ static void sim_efust_read_cb(int ok, int length, int record,
* must be present if EFfdn or EFbdn are present
*/
if (sim_ust_is_available(sim->efust, sim->efust_length,
- SIM_UST_SERVICE_ENABLED_SERVICE_TABLE)) {
+ SIM_UST_SERVICE_ENABLED_SERVICE_TABLE) ||
+ sim_ust_is_available(sim->efust, sim->efust_length,
+ SIM_UST_SERVICE_FDN) ||
+ sim_ust_is_available(sim->efust, sim->efust_length,
+ SIM_UST_SERVICE_BDN)) {
ofono_sim_read(sim, SIM_EFEST_FILEID,
OFONO_SIM_FILE_STRUCTURE_TRANSPARENT,
sim_efest_read_cb, sim);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH] sim: fix issue in triggering EFest read
2010-11-29 14:50 [PATCH] sim: fix issue in triggering EFest read Jeevaka Badrappan
@ 2010-11-29 16:57 ` Jeevaka Badrappan
2010-11-29 20:58 ` Denis Kenzior
0 siblings, 1 reply; 3+ messages in thread
From: Jeevaka Badrappan @ 2010-11-29 16:57 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]
---
src/sim.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/sim.c b/src/sim.c
index e5e304c..30a6ac2 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1441,11 +1441,18 @@ static void sim_efust_read_cb(int ok, int length, int record,
/*
* Check whether the SIM provides EFest file
- * According to 31.102, section 4.2.24 and 4.2.44 the EFest file
- * must be present if EFfdn or EFbdn are present
+ * According to 3GPP TS 31.102 section 4.2.47, EFest file
+ * shall be present if FDN or BDN or EST is available
+ * Lets be paranoid and check for the special cases as well
+ * where EST is not available(FDN or BDN available), but EFest
+ * is present
*/
if (sim_ust_is_available(sim->efust, sim->efust_length,
- SIM_UST_SERVICE_ENABLED_SERVICE_TABLE)) {
+ SIM_UST_SERVICE_ENABLED_SERVICE_TABLE) ||
+ sim_ust_is_available(sim->efust, sim->efust_length,
+ SIM_UST_SERVICE_FDN) ||
+ sim_ust_is_available(sim->efust, sim->efust_length,
+ SIM_UST_SERVICE_BDN)) {
ofono_sim_read(sim, SIM_EFEST_FILEID,
OFONO_SIM_FILE_STRUCTURE_TRANSPARENT,
sim_efest_read_cb, sim);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-29 20:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 14:50 [PATCH] sim: fix issue in triggering EFest read Jeevaka Badrappan
2010-11-29 16:57 ` Jeevaka Badrappan
2010-11-29 20:58 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.