diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-09 01:45:12 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-18 14:07:56 -0500 |
commit | d01b2ff4e6496bc48a1917b6340e13263f871a15 (patch) | |
tree | dcbaef3a745c59177c5c87671bfd7c99932bc3cd /include/net | |
parent | 67d0dfb5ec781e9fe030e4e61359ee6eed66ff92 (diff) |
Bluetooth: convert chan_lock to mutex
spin lock doesn't fit ok anymore on the new code based on workqueues.
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 03be9111dc51..a1750912824f 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -536,7 +536,7 @@ struct l2cap_conn { | |||
536 | struct smp_chan *smp_chan; | 536 | struct smp_chan *smp_chan; |
537 | 537 | ||
538 | struct list_head chan_l; | 538 | struct list_head chan_l; |
539 | rwlock_t chan_lock; | 539 | struct mutex chan_lock; |
540 | }; | 540 | }; |
541 | 541 | ||
542 | #define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 | 542 | #define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 |