commit | 542fdee90efa6075b5dd6171e3ddf4098a57cf7a | [log] [tgz] |
---|---|---|
author | Nitesh Shah <niteshs@codeaurora.org> | Tue Jan 31 17:24:03 2017 +0530 |
committer | qcabuildsw <qcabuildsw@localhost> | Fri Mar 03 13:13:17 2017 -0800 |
tree | 37e901e8514357b97567c3b22064f270bcb22548 | |
parent | 52d1700a861b3acfb1db1e306acfbb65dfe50ea4 [diff] |
qcacld-3.0: Acquire mutex before accessing tdls function peer_list is a parameter for tdls_ctx, so every access to peer_list should be protected with mutex lock. This change refactors the code for function wlan_hdd_tdls_disable_offchan_and_teardown_links(), wlan_hdd_tdls_scan_callback() and wlan_hdd_tdls_teardown _links() before calling wlan_hdd_tdls_find_all_peer(). Change-Id: I881e12bb0c50bfbeb4fe60cb21cfdf0f7d6c2f56 CRs-Fixed: 1106293