commit | e87e930251cb1445ad6f03911cc1fe70ae17aa98 | [log] [tgz] |
---|---|---|
author | Gabriel Biren <gbiren@google.com> | Wed Oct 18 16:23:58 2023 +0000 |
committer | Gabriel Biren <gbiren@google.com> | Wed Oct 18 16:23:58 2023 +0000 |
tree | 0fe1df290e7db7dcba7f11f5c02e16b3ae8ed7a9 | |
parent | 994a65df60ec3867521880f8337c92b6a042e01b [diff] |
Add a lock around the wificond death handler and teardownInterfaces in WifiNl80211Manager. Prevents a specific race condition when the wificond service dies at the same time as the Vendor HAL (whose death handler calls into teardownInterfaces). No other race conditions have been observed in this file, so we can limit the locks to these 2 methods. Bug: 273175980 Test: atest WifiNl80211ManagerTest Change-Id: Ib3936ed8ddb3c0dc5fb25a56e535ab27a28cfa65