]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Do not send data during channel move
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:19 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:24:56 +0000 (00:24 -0200)
commita2e2a1d97387ecf9e6e5b13723e099edc8cbc494
tree02b2c027ce44f1d2eaef6bb50145c5c3c5a28a38
parent5c6ad7775e6cd1c2908fe5541dc1f00e84e05247
Bluetooth: Do not send data during channel move

Outgoing ERTM data is queued during a channel move.  The ERTM state
machine is partially reset at the start of a move, and must be
resynchronized with the remote state machine at the end of the move.
Data is not sent so that there are no state transitions between the
partial reset and the resync.

Streaming mode frames are dropped during a move.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c