projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3ce5f
)
session: Move info_dirty info update_allowed_bearers
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Fri, 15 Apr 2011 13:34:24 +0000
(15:34 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Fri, 15 Apr 2011 14:24:38 +0000
(16:24 +0200)
update_ecall sets also the dirty flag, so do it the same way for
update_allowed_bearers.
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
5c512b6
..
a381af4
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-827,6
+827,8
@@
static void update_allowed_bearers(struct connman_session *session)
service_match);
g_sequence_sort(session->service_list, sort_services, session);
g_sequence_foreach(session->service_list, print_name, NULL);
+
+ session->info_dirty = TRUE;
}
static void update_ecall(struct connman_session *session)
@@
-913,7
+915,6
@@
static DBusMessage *change_session(DBusConnection *conn,
info->allowed_bearers = allowed_bearers;
update_allowed_bearers(session);
- session->info_dirty = TRUE;
} else {
goto err;
}