Re: [PATCH 1/2] sim: fix minor issue in ofono_sim_get_phase

2010-12-12 Thread Denis Kenzior
Hi Jeevaka,

On 12/06/2010 12:39 PM, Jeevaka Badrappan wrote:
 ---
  src/sim.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 

Patch has been applied, thanks.

Regards,
-Denis
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


[PATCH 1/2] sim: fix minor issue in ofono_sim_get_phase

2010-12-06 Thread Jeevaka Badrappan
---
 src/sim.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/sim.c b/src/sim.c
index c523982..6217a25 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1914,7 +1914,7 @@ const char *ofono_sim_get_imsi(struct ofono_sim *sim)
 enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim)
 {
if (sim == NULL)
-   return 0;
+   return OFONO_SIM_PHASE_UNKNOWN;
 
return sim-phase;
 }
-- 
1.7.0.4

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono