commit | ac34c96ae2b5417a2f7a534b93d0e3caab352ce1 | [log] [tgz] |
---|---|---|
author | Sticky Chen <sticky.chen@mediatek.com> | Fri Sep 21 09:55:40 2018 +0800 |
committer | Roshan Pius <rpius@google.com> | Tue Jan 29 00:07:45 2019 +0000 |
tree | 6556f226a7a8e3aeeef72f8ee7bf208526068647 | |
parent | 3e53a7004d698d6d0d207929ac4b538dff083c10 [diff] |
Fix race condition for mNetworkAgent To prevent WifiService thread and WifiStateMachine thread access and modify mNetworkAgent at the same time, we need to make sure the synchronization. Test: Wi-Fi on and confirm no abnormal exception occurs Bug: 116289703 Change-Id: I2bf380ae4b063956687a2120f254379c34597cf4 (cherry-picked from bc6cbaad5f9000070eb7e50b4e9a439eeedde2a7)