tearDown: Wait for wifi previous state to actually be restored

If we don't wait for wifi to actually connect/disconnect after restoring
the previous state we might end up with some race conditions causing
testcases to PASS/FAIL when they shouldn't.

Change-Id: Ifa4fe29a6ce77fa9e864a42d2cd43662fbf7dfdd
1 file changed