---
 src/simfs.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/simfs.c b/src/simfs.c
index 4204aca..1e71f82 100644
--- a/src/simfs.c
+++ b/src/simfs.c
@@ -142,7 +142,10 @@ static void sim_fs_op_error(struct sim_fs *fs)
 {
        struct sim_fs_op *op = g_queue_peek_head(fs->op_q);
 
-       if (op->is_read == TRUE)
+       if (op->info_only == TRUE)
+               ((sim_fs_read_info_cb_t) op->cb)
+                       (0, 0, 0, 0, op->userdata);
+       else if (op->is_read == TRUE)
                ((ofono_sim_file_read_cb_t) op->cb)
                        (0, 0, 0, 0, 0, op->userdata);
        else
-- 
1.7.0.4

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

Reply via email to