Diff between 2e82b4bc2f0ed281e9ab2de0bada2173871b90aa and 0429e416f1741f7c9448b20daec71e108ec686a1

Changed Files

File Additions Deletions Status
profiles/audio/device.c +1 -1 modified

Full Patch

diff --git a/profiles/audio/device.c b/profiles/audio/device.c
index df57d81..5176a60 100644
--- a/profiles/audio/device.c
+++ b/profiles/audio/device.c
@@ -269,7 +269,7 @@ static void device_avdtp_cb(struct audio_device *dev, struct avdtp *session,
 				avdtp_session_state_t new_state,
 				void *user_data)
 {
-	if (!dev->sink || !dev->control)
+	if (!dev->control)
 		return;
 
 	if (new_state == AVDTP_SESSION_STATE_CONNECTED) {