Diff between 06c94f0ac0558bd937f10486536da5c256643432 and 36b26283cee31af9509ee372f9787f94830a85b7

Changed Files

File Additions Deletions Status
profiles/audio/transport.c +2 -2 modified

Full Patch

diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index 5646b20..0f7909a 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -1483,7 +1483,7 @@ static DBusMessage *select_transport(DBusConnection *conn, DBusMessage *msg,
 		transport_update_playing(transport, TRUE);
 	}
 
-	return NULL;
+	return dbus_message_new_method_return(msg);
 }
 
 static DBusMessage *unselect_transport(DBusConnection *conn, DBusMessage *msg,
@@ -1496,7 +1496,7 @@ static DBusMessage *unselect_transport(DBusConnection *conn, DBusMessage *msg,
 		transport_update_playing(transport, FALSE);
 	}
 
-	return NULL;
+	return dbus_message_new_method_return(msg);
 }
 
 static void sink_state_changed(struct btd_service *service,