diff options
author | David Herrmann | 2013-04-06 20:28:41 +0200 |
---|---|---|
committer | Gustavo Padovan | 2013-04-17 02:47:55 -0300 |
commit | e3492dc3760ceb981a0bb9992c249ba151b6f61d (patch) | |
tree | c7e2fa6b5fb9a3715fb1d0a0b56bca85054ed302 /include/net/bluetooth | |
parent | dcc07647f17836ecf9f4c54e44624b048ab8c297 (diff) |
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>
Diffstat (limited to 'include/net/bluetooth')
0 files changed, 0 insertions, 0 deletions