commit | 4c2a9fe3ff09c70dcda6f975feac64635af62b46 | [log] [tgz] |
---|---|---|
author | Prakash Dhavali <pdhavali@codeaurora.org> | Fri Dec 02 16:01:08 2016 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Mon Jan 09 15:46:44 2017 -0800 |
tree | 5bfe47e5b47b0f5a775ff27c7fdcd80be47c20e2 | |
parent | 0d3f1d62e1929fcd9b76c7597c25eb330c347b74 [diff] |
qcacld-3.0: Fix out-of-order completion variable usage hdd_wlan_get_ibss_peer_info() and hdd_wlan_get_ibss_peer_info_all() initialize their completion variables after scheduling work, leading to a race condition that can cause the completion variable to be set before it is initialized. Reorder the operations so work is scheduled after initializing the completion variables. Change-Id: Ic773574f3620438b473cd5bcebee78ad87a37942 CRs-Fixed: 1074692