[WifiIOTConnectionTest] Prevent use a single scan result in a test

Currently, all conneciton interations use a same single scan result
to decide AP existed or not. It would cause test failures because
the test environment is a dense environment. Do wifi scans before
each interation to prevent this situation.

Bug: 254570241
Test: Verified locally
Change-Id: I7af89ffa59744fadba4aca8a1e71da9663e82bd5
1 file changed
tree: e5184d7824da895e51429c4c7c7187cd5789c682
  1. acts/
  2. acts_tests/
  3. tools/
  4. wts-acts/
  5. Android.mk
  6. LICENSE
  7. OWNERS
  8. PREUPLOAD.cfg