mirror of git://git.sysmocom.de/ofono
simfs: Return from sim_fs_op_check_cached on error
This commit is contained in:
parent
882c0c2761
commit
f2c73f0a52
|
@ -600,8 +600,10 @@ static gboolean sim_fs_op_check_cached(struct sim_fs *fs)
|
|||
fs->fd = fd;
|
||||
|
||||
if (error_type != OFONO_ERROR_TYPE_NO_ERROR ||
|
||||
structure != op->structure)
|
||||
structure != op->structure) {
|
||||
sim_fs_op_error(fs);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (structure == OFONO_SIM_FILE_STRUCTURE_TRANSPARENT) {
|
||||
if (op->num_bytes == 0)
|
||||
|
|
Loading…
Reference in New Issue