WifiWakeTest: scan before turning wifi off

If we don't scan before turning wifi off, it is possible
that Wifi Wake will use stale scan results containing
the APs that we have turned off already.

Bug: 160540443
Test: in continuous runs
Change-Id: I46b0a29011789494f72e4ce4ba9722cf0e8ccb04
Merged-In: I46b0a29011789494f72e4ce4ba9722cf0e8ccb04
(cherry picked from commit 6ceddf3eff402b7ceb5a5d8261978cda4ff57e1a)
1 file changed
tree: c2acd36463ef75be2217ae09977c75faa7bf3c52
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg