diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-09 04:48:17 -0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-18 17:07:57 -0200 |
commit | 03a001948166d966d0d580cddb8ae3a23f8b795b (patch) | |
tree | 341ca43e5feca84870e874eecfc03881e60179d5 /crypto/Kconfig | |
parent | f878fcad1760247c054a9c80964d0b7450d2379b (diff) |
Bluetooth: invert locking order in connect path
This move some checking code that was in l2cap_sock_connect() to
l2cap_chan_connect(). Thus we can invert the lock calls, i.e., call
lock_sock() before hci_dev_lock() to avoid a deadlock scenario.
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions