Commit: 7c26522fd03c3e289f28044bc3d2019367397dd4
Parent: a300c9e2f2b7670665f84f9f27a05d516d67487e
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-21 13:53:38
Tree: 8c6f429bcbc63bd77a23c061e07a432f6149d15c

sap: Simplify DBusConnection object handling This patch removes redundant references and function parameters for DBusConnection object and uses btd_get_dbus_connection() call wherever such object is needed instead. Pointer returned by this call is guaranteed to be valid for entire bluetoothd lifetime and thus do not need to be refcounted.

Diffstat

M profiles/sap/main.c | 16 +- - - - - - - - - - - - - - -
M profiles/sap/manager.c | 17 +- - - - - - - - - - - - - - - -
M profiles/sap/manager.h | 2 +-
M profiles/sap/sap-dummy.c | 19 ++++++- - - - - - - - - - - - -
M profiles/sap/server.c | 21 ++++- - - - - - - - - - - - - - - - -
M profiles/sap/server.h | 2 - -

6 files changed, 13 insertions(+), 64 deletions(-)

View Full Diff | Patch