Add network connectivity check to wifi tests

This CL adds a connectivity check before each tests and does not issue a
connect command if the DUT is already connected to the correct network.
This helps save test time in situations where tests are repeated in the
same configuration wherein the DUT is probably still connected.

Test: Done
Bug: None

Change-Id: I79c62e97efb8f1d66445837bc4c6718aa2bc325c
Signed-off-by: Omar El Ayach <oelayach@google.com>
5 files changed
tree: e1b74f37d573ad1e812cf5bade8dcc4ab76d0803
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg