commit | bdb415e45823d1451fd5e180cd5b1e50afacb1a7 | [log] [tgz] |
---|---|---|
author | Ganesh Kondabattini <ganeshk@qti.qualcomm.com> | Wed Sep 16 12:37:14 2015 +0530 |
committer | Satyanarayana Dash <sadash@codeaurora.org> | Wed Sep 16 18:25:17 2015 +0530 |
tree | 4ef33c83fa472ea05778042e4710468a88fd49a3 | |
parent | 0637d5979f35f71225ae1cd358842f5fe84c6595 [diff] |
wlan: Protect ROC ctx with mutex lock during request ROC. Multiple functions running in different thread context can access the ROC context or alter its elements, after the roc context is freed or its elements are altered by other functions which can lead to crash or some other issues. To address this, protect ROC context and its elements with mutex. The possible scenarios addressed are during request roc. CRs-Fixed: 901700 Change-Id: I07c4e921061e556b8ee72e59d15ecc920907acf4