Make oFono use proper record ids, don't use tricks

This commit is contained in:
Denis Kenzior 2009-07-10 13:08:24 -05:00
parent 04f6924099
commit 38a23eb108
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ static void at_sim_read_record(struct ofono_modem *modem, int fileid,
goto error;
snprintf(buf, sizeof(buf), "AT+CRSM=178,%i,%i,4,%i", fileid,
record + 1, length);
record, length);
if (g_at_chat_send(at->parser, buf, crsm_prefix,
at_crsm_read_cb, cbd, g_free) > 0)
return;