summaryrefslogtreecommitdiff
path: root/net/bluetooth/rfcomm/sock.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2011-07-24 04:10:35 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-08-11 22:50:26 (GMT)
commite5842cdb0f4f2c68f6acd39e286e5d10d8c073e8 (patch)
treea7823b87a19c6f865221b0fb9553202a4da241a3 /net/bluetooth/rfcomm/sock.c
parent8e7c3d2e4ba18ee4cdcc1f89aec944fbff4ce735 (diff)
downloadlinux-fsl-qoriq-e5842cdb0f4f2c68f6acd39e286e5d10d8c073e8.tar.xz
Bluetooth: rfcomm: Remove unnecessary krfcommd event
Removed superfluous event handling which was used to signal that the rfcomm kthread had been woken. This appears to have been used to prevent lost wakeups. Correctly ordering when the task state is set to TASK_INTERRUPTIBLE is sufficient to prevent lost wakeups. To prevent wakeups which occurred prior to initially setting TASK_INTERRUPTIBLE from being lost, the main work of the thread loop - rfcomm_process_sessions() - is performed prior to sleeping. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/rfcomm/sock.c')
0 files changed, 0 insertions, 0 deletions