commit | 5bdb69bd913a83fb57b9d4af03a7ed2ac6bdd0c5 | [log] [tgz] |
---|---|---|
author | Srinivas Pitla <spitla@codeaurora.org> | Wed May 24 18:10:07 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Tue May 30 17:31:18 2017 -0700 |
tree | 916ae0c4a08c58be0785b243d1cabd369d10ee92 | |
parent | 91b6182286edde53b04486a084ca4867993ac194 [diff] |
qcacmn: Avoid deadlock with pdev lock The locks have to be taken by the caller. Handling inside inline APIs are causing deadlock in few paths due to order of the locks. With these locks the order is missing. PDEV lock should be taken prior to vdev lock, and psoc lock should be taken before taking pdev lock, same for peer and vdev locks also. taking the locks other order would cause deadlock Change-Id: I23d83329a0752981974726454d9e1bc1cfd1398f CRs-Fixed: 2022458