aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-06-21 17:50:49 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 13:39:09 -0400
commite0f66218b3a7d0bcf37ca95186123c257fda0ba5 (patch)
tree3b7972c417686f3bddbe69af5fdb8c6984c513ee /include/net/bluetooth
parent8cb8e6f1684be13b51f8429b15f39c140326b327 (diff)
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index f8bae5415438..7df70e47c878 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -358,7 +358,6 @@ struct l2cap_pinfo {
358 358
359 __le16 sport; 359 __le16 sport;
360 360
361 spinlock_t send_lock;
362 struct timer_list retrans_timer; 361 struct timer_list retrans_timer;
363 struct timer_list monitor_timer; 362 struct timer_list monitor_timer;
364 struct timer_list ack_timer; 363 struct timer_list ack_timer;