From 13fd71450abf7f4ac2d6b1d6c2c70b81b0796f80 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 12 Feb 2009 19:47:21 +0200 Subject: Use correct dev pointer --- audio/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/unix.c') diff --git a/audio/unix.c b/audio/unix.c index 472347b1..294155ad 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -317,7 +317,7 @@ static void headset_resume_complete(struct audio_device *dev, void *user_data) client->data_fd = headset_get_sco_fd(dev); if (client->data_fd < 0) { error("Unable to get a SCO fd"); - headset_unlock(client->dev, hs->lock); + headset_unlock(dev, hs->lock); goto failed; } -- cgit