summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index da224b8a..1a4b1171 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1586,6 +1586,8 @@ gboolean headset_unlock(struct device *dev, void *data)
hs->locked = FALSE;
+ headset_set_state(dev, HEADSET_STATE_DISCONNECTED);
+
return TRUE;
}