wifi_test_utils.py: removed redundant code

Redundant code in the following functions
Some function calls are too helpful and others have unnecessary code
1. Use asserts.fail() instead of WifiTestUtilsError
2. reset_wifi() should assert the failure instead of
   wifi_test_device_init() checking if reset_wifi() has passed.
3. Removed ad.droid.wifiScannerToggleAlwaysAvailable(False) as
   it is being called twice
3. sort_wifi_scan_results() is not used anywhere
4. _eap_connect()
   The function is being too helpful. stat_wifi_connection_scan() is not
   necessary. Test cases should take care of it

Bug: 31807632
Test: All acts/tests/google/wifi/ scripts that depend on this change
Change-Id: I315d869dcb23d0c05ae073fb92ead26d38fcf164
1 file changed
tree: b4e38ab4cebf35cb40a75a22acb00aa581932423
  1. acts/
  2. Android.mk
  3. PREUPLOAD.cfg