#include <bluetooth/sdp_lib.h>
#include <glib.h>
-#include <dbus/dbus.h>
#include <btio/btio.h>
#include "log.h"
/* Attempt stream setup instead of disconnecting */
gboolean stream_setup;
-
- DBusPendingCall *pending_auth;
};
static GSList *servers = NULL;
return NULL;
session = find_session(server->sessions, device);
- if (session) {
- if (session->pending_auth)
- return NULL;
- else
- return session;
- }
+ if (session)
+ return session;
session = g_new0(struct avdtp, 1);