commit | d3e99df93dcd2cc8806ce9f9833aba93d75c841f | [log] [tgz] |
---|---|---|
author | Ankit Verma <ankitv@codeaurora.org> | Wed Apr 25 15:42:04 2012 -0700 |
committer | Ankit Verma <ankitv@codeaurora.org> | Wed Apr 25 15:52:31 2012 -0700 |
tree | a488126575c694b97a5898045ba50cb4ca0604fe | |
parent | 759104cab29dfd6bbb7d6b2340e2a0eef48ea0eb [diff] |
Bluetooth: Better locking when tearing down an HCI connection. Restarting Riva will abruptly disconnect the hci device, which can tear down the hci_conn struct on one processor while RFCOMM code is running on another. This would keep l2cap_chan_del from being executed while RFCOMM is in the middle of using a socket. CRs-fixed: 351273 Change-Id: I37c82cac022a1d1c0fd60791f7c15b56e2415850 Signed-off-by: Ankit Verma <ankitv@codeaurora.org>