diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-01-26 14:17:01 -0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-26 18:23:38 +0100 |
commit | b7fca84c939f7185482d051145bb66581cf4d54d (patch) | |
tree | 55d0dcf80b7d49249037c50e01b61e1554675579 /drivers/atmodem/sim.c | |
parent | dd96534a810b01bc184ece26199eb99c5425aadd (diff) |
atmodem: rename parameter according to header
Diffstat (limited to 'drivers/atmodem/sim.c')
-rw-r--r-- | drivers/atmodem/sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atmodem/sim.c b/drivers/atmodem/sim.c index a9352d8c..372d9851 100644 --- a/drivers/atmodem/sim.c +++ b/drivers/atmodem/sim.c @@ -881,7 +881,7 @@ error: static void at_change_passwd(struct ofono_sim *sim, enum ofono_sim_password_type passwd_type, - const char *old, const char *new, + const char *old_passwd, const char *new_passwd, ofono_sim_lock_unlock_cb_t cb, void *data) { struct sim_data *sd = ofono_sim_get_data(sim); @@ -898,7 +898,7 @@ static void at_change_passwd(struct ofono_sim *sim, goto error; snprintf(buf, sizeof(buf), "AT+CPWD=\"%s\",\"%s\",\"%s\"", - at_clck_cpwd_fac[passwd_type], old, new); + at_clck_cpwd_fac[passwd_type], old_passwd, new_passwd); ret = g_at_chat_send(sd->chat, buf, none_prefix, at_lock_unlock_cb, cbd, g_free); |