session: Remove name variable from connman_session_bearer
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 31 Oct 2012 09:33:32 +0000 (10:33 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 5 Nov 2012 12:44:36 +0000 (14:44 +0200)
commit9b1a20b1cf7fcfb080c353120bfc796fda56bf8a
tree0888220882942faf7d8936f239510da896450383
parent571da6449e813c3cf1a3f9515818d69bbc2e264d
session: Remove name variable from connman_session_bearer

The string is only used when appending the bearer to the D-Bus
message in append_allowed_bearers(). Let's use
__connman_session_type2string() in append_allowed_bearers(). This
saves a bit of memory.
include/session.h
src/session.c