summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-10-25 13:25:41 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-10-25 13:25:41 +0000
commit2bb9cae4a1c2fa8398452c5c7032d77853238cd8 (patch)
tree1432a6da811f7f08c72ee9c95faab2ec27cb0817 /audio/control.c
parent221a91a439f128912f6989d13ddf9926ad0a1572 (diff)
Fix L2CAP socket leak
Diffstat (limited to 'audio/control.c')
-rw-r--r--audio/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/control.c b/audio/control.c
index bd100331..3f512672 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -443,6 +443,7 @@ static int uinput_create(char *name)
ioctl(fd, UI_SET_EVBIT, EV_KEY);
ioctl(fd, UI_SET_EVBIT, EV_REL);
ioctl(fd, UI_SET_EVBIT, EV_REP);
+ ioctl(fd, UI_SET_EVBIT, EV_SYN);
ioctl(fd, UI_SET_KEYBIT, KEY_PLAYPAUSE);
ioctl(fd, UI_SET_KEYBIT, KEY_STOP);