kernel-hacking-2024-linux-s.../net/bluetooth/hidp
David Herrmann e3492dc376 Bluetooth: hidp: test "terminate" before sleeping
The "terminate" flag is guaranteed to be set before the session terminates
and the handlers are woken up. Hence, we need to add it to the
sleep-condition.

Note that testing the flags is not enough as nothing prevents us from
setting the flags again after the session-handler terminated.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2013-04-17 02:47:55 -03:00
..
core.c Bluetooth: hidp: test "terminate" before sleeping 2013-04-17 02:47:55 -03:00
hidp.h Bluetooth: hidp: remove unused session->state field 2013-04-17 02:46:51 -03:00
Kconfig
Makefile
sock.c Bluetooth: hidp: remove redundant error message 2013-04-05 23:44:07 -03:00