Diff between d6f93380ff280cf5c0c09086135f4496dc6f8073 and df62dbb69bae3662adf1e1aab4f9c75c4b1aa59e

Changed Files

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

Full Patch

diff --git a/audio/media.c b/audio/media.c
index a2ef437..a363b8e 100644
--- a/audio/media.c
+++ b/audio/media.c
@@ -197,7 +197,7 @@ static void headset_setconf_cb(struct media_endpoint *endpoint, void *ret,
 	if (ret != NULL)
 		return;
 
-	headset_set_state(dev, HEADSET_STATE_DISCONNECTED);
+	headset_shutdown(dev);
 }
 
 static void clear_configuration(struct media_endpoint *endpoint)