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>
This commit is contained in:
Gustavo F. Padovan
2010-06-21 18:50:49 -03:00
committed by Marcel Holtmann
parent 8cb8e6f168
commit e0f66218b3
2 changed files with 1 additions and 28 deletions

View File

@ -358,7 +358,6 @@ struct l2cap_pinfo {
__le16 sport;
spinlock_t send_lock;
struct timer_list retrans_timer;
struct timer_list monitor_timer;
struct timer_list ack_timer;