]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add wait_queue to wait ack of all sent packets
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:44 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:53 +0000 (09:28 +0200)
commit4e39fef683e24dc7a43c1d4621c8eb0c39c16433
tree86b4de3160054b0507d37a47351260e48073f579
parent56a2f5e6aa264b0de64520ab2efd92ce90f01f97
Bluetooth: Add wait_queue to wait ack of all sent packets

To guarantee that all packets we sent were received we need to wait for
theirs ack before shutdown the socket.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c