summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:23:34 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-28 12:23:34 +0000
commit25c5aaa285d2e9767ee3be8fb4cd97411307da20 (patch)
treec81158dbd95c37045a9ddc1e1a3cca5a93544e21
parentd1fb0b25a9882016de70f102408f10101b348e57 (diff)
Reset request id for headset connects too
-rw-r--r--audio/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/unix.c b/audio/unix.c
index 71bb480c..6c420a24 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -243,6 +243,8 @@ static void headset_setup_complete(struct device *dev, void *user_data)
struct ipc_data_cfg cfg;
int fd;
+ client->req_id = 0;
+
if (!dev) {
unix_send_cfg(client->sock, NULL, -1);
client->dev = NULL;