In run_fd_transport, add all chips before registering any transports.

The deadlock may occur due to a race condition between rootcanal and
netsimd with locks to devices due to add_chip and get_distance.

The solution is to add all chips to the frontend resource first, then
register the transports afterwards.

Bug: 333798956
Test: ABTD
Change-Id: I896db89a128c86640cc4b7ef13e0e89465e9fa0c
1 file changed
tree: eae183dd220a97e5a0d02d553e42e5ce7c690bf0
  1. cmake/
  2. doc/
  3. guide/
  4. pdl/
  5. proto/
  6. rust/
  7. scripts/
  8. src/
  9. testing/
  10. ui/
  11. .clang-format
  12. .gitignore
  13. Android.bp
  14. cmake-format.json
  15. CMakeLists.txt
  16. dummy.c
  17. LICENSE
  18. OWNERS
  19. README.md
  20. TEST_MAPPING
README.md

netsim - a network simulation tool for multi-device use cases

Netsim is a development stage open-source tool for testing and analysis of android multi-device apps and frameworks. It offers radio level control and HCI tracing.