summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ussd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ussd.c b/src/ussd.c
index 0f1aa27b..27c389c9 100644
--- a/src/ussd.c
+++ b/src/ussd.c
@@ -229,7 +229,7 @@ gboolean ss_passwd_register(struct ofono_modem *modem, const char *str,
if (!entry)
return FALSE;
- modem->ss_passwd_list = g_slist_append(modem->ss_passwd_list, entry);
+ modem->ss_passwd_list = g_slist_prepend(modem->ss_passwd_list, entry);
return TRUE;
}