From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- tools/l2test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/l2test.c b/tools/l2test.c index 386823f..d4e3ae6 100644 --- a/tools/l2test.c +++ b/tools/l2test.c @@ -592,6 +592,7 @@ static void do_listen(void (*handler)(int sk)) if (socktype == SOCK_DGRAM) { handler(sk); + close(sk); return; } -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html