Bluetooth: Remove the send_lock spinlock from ERTM
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 21 Jun 2010 21:50:49 +0000 (18:50 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:09 +0000 (10:39 -0700)
commite0f66218b3a7d0bcf37ca95186123c257fda0ba5
tree3b7972c417686f3bddbe69af5fdb8c6984c513ee
parent8cb8e6f1684be13b51f8429b15f39c140326b327
Bluetooth: Remove the send_lock spinlock from ERTM

Using a lock to deal with the ERTM race condition - interruption with
new data from the hci layer - is wrong. We should use the native skb
backlog queue.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c