diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-08-05 11:25:21 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-05 12:39:09 -0500 |
commit | ed56d7c58559c0207ee33d2ba651280fcd895906 (patch) | |
tree | aa2661d195d72cb28ee077b458241cdba179bf70 | |
parent | 2d12b296e0f77dd5f931cab00fe12ef5ce18284d (diff) | |
download | ofono-ed56d7c58559c0207ee33d2ba651280fcd895906.tar.bz2 |
Fix record number in at_sim_update_record.
-rw-r--r-- | drivers/atmodem/sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c index 748cf6a2..90f02e23 100644 --- a/drivers/atmodem/sim.c +++ b/drivers/atmodem/sim.c @@ -321,7 +321,7 @@ static void at_sim_update_record(struct ofono_modem *modem, int fileid, goto error; len = sprintf(buf, "AT+CRSM=220,%i,%i,4,%i,", fileid, - record + 1, length); + record, length); for (; length; length--) len += sprintf(buf + len, "%02hhx", *value++); |