From: Luiz Augusto von Dentz <luiz.dentz-von@xxxxxxxxx> When connection is started via headset_config_stream there is no D-Bus message to reply to. --- audio/headset.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/audio/headset.c b/audio/headset.c index 72bf5b6..53a594d 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1445,7 +1445,8 @@ static void get_record_cb(sdp_list_t *recs, int err, gpointer user_data) error("Unable to get service record: %s (%d)", strerror(-err), -err); p->err = -err; - error_connect_failed(dev->conn, p->msg, p->err); + if (p->msg) + error_connect_failed(dev->conn, p->msg, p->err); goto failed; } -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html