From 2bb9cae4a1c2fa8398452c5c7032d77853238cd8 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 25 Oct 2007 13:25:41 +0000 Subject: Fix L2CAP socket leak --- audio/control.c | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/control.c') 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); -- cgit