commit | a40eb7eceb5f5dda093ba17bc0e14575f71f42d2 | [log] [tgz] |
---|---|---|
author | Peter Krystad <pkrystad@codeaurora.org> | Fri May 04 11:24:59 2012 -0700 |
committer | Peter Krystad <pkrystad@codeaurora.org> | Tue May 08 11:36:28 2012 -0700 |
tree | 495d13c1f4ca5d772b319af03a370a0654bc96a5 | |
parent | abe3c9c88f9cd1cbc5d3a3eec4bdbba6e3ce2107 [diff] |
Bluetooth: Remove holding lock when sending A2MP message Remove holding the AMP manger list lock when sending the A2MP Change Notify message, as this uses L2CAP and will lock the socket and possibly sleep. This removes a potential deadlock and a "BUG: sleeping function called from invalid context" message from the kernel log. Change-Id: Icf8c5afc1a5cde36517bb979820c83a20ee207fd CRs-fixed: 358736 Signed-off-by: Peter Krystad <pkrystad@codeaurora.org>