summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorDavid Herrmann2013-04-06 20:28:41 +0200
committerGustavo Padovan2013-04-17 07:47:55 +0200
commite3492dc3760ceb981a0bb9992c249ba151b6f61d (patch)
treec7e2fa6b5fb9a3715fb1d0a0b56bca85054ed302 /include/net/bluetooth/bluetooth.h
parentBluetooth: hidp: remove unused session->state field (diff)
downloadkernel-qcow2-linux-e3492dc3760ceb981a0bb9992c249ba151b6f61d.tar.gz
kernel-qcow2-linux-e3492dc3760ceb981a0bb9992c249ba151b6f61d.tar.xz
kernel-qcow2-linux-e3492dc3760ceb981a0bb9992c249ba151b6f61d.zip
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/bluetooth.h')
0 files changed, 0 insertions, 0 deletions