diff options
author | Guillaume Zajac <guillaume.zajac@linux.intel.com> | 2011-11-21 11:54:03 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-11-27 06:03:14 -0600 |
commit | 7852f250794cbe5c60023a9da2657ec9d6b08471 (patch) | |
tree | c42c15cc138f5c4f6135bb6c845dcc4e4e1468a0 /src/simfs.c | |
parent | 97359e7f7be5e2e56d15c67d7d3d3a2bd8f6b744 (diff) | |
download | ofono-7852f250794cbe5c60023a9da2657ec9d6b08471.tar.bz2 |
simfs: Call callback even if impl isn't provided
Diffstat (limited to 'src/simfs.c')
-rw-r--r-- | src/simfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/simfs.c b/src/simfs.c index 875e1940..58dc41dc 100644 --- a/src/simfs.c +++ b/src/simfs.c @@ -901,8 +901,10 @@ int sim_fs_read(struct ofono_sim_context *context, int id, if (fs->driver == NULL) return -EINVAL; - if (fs->driver->read_file_info == NULL) + if (fs->driver->read_file_info == NULL) { + cb(0, 0, 0, NULL, 0, data); return -ENOSYS; + } if (fs->op_q == NULL) fs->op_q = g_queue_new(); |