summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-09-27 18:18:46 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-09-30 08:32:01 +0200
commit1c9c1f38b016b978ee6c678e81c60c137e99eb95 (patch)
tree65a1ce35b5cb3639cbf90eceaccd7fc85b6566e1 /src/session.c
parente6c700c9f1627cf25657d07472f07d8980d6f0ae (diff)
downloadconnman-1c9c1f38b016b978ee6c678e81c60c137e99eb95.tar.gz
connman-1c9c1f38b016b978ee6c678e81c60c137e99eb95.tar.bz2
connman-1c9c1f38b016b978ee6c678e81c60c137e99eb95.zip
session: Rename update_allowed_bearers()
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.c b/src/session.c
index c59dfdcc..592916a7 100644
--- a/src/session.c
+++ b/src/session.c
@@ -931,7 +931,7 @@ static void destroy_service_entry(gpointer data)
g_free(entry);
}
-static void update_allowed_bearers(struct connman_session *session)
+static void populate_service_list(struct connman_session *session)
{
struct service_entry *entry;
GSequenceIter *iter;
@@ -1191,7 +1191,7 @@ static DBusMessage *change_session(DBusConnection *conn,
info->allowed_bearers = allowed_bearers;
- update_allowed_bearers(session);
+ populate_service_list(session);
} else {
goto err;
}
@@ -1525,7 +1525,7 @@ int __connman_session_create(DBusMessage *msg)
DBUS_TYPE_INVALID);
- update_allowed_bearers(session);
+ populate_service_list(session);
if (info->ecall == TRUE) {
ecall_info = info;
update_ecall_sessions(session);