[Tests]For softAP tests just call stop tethering
With dual-wifi we can have sta+ap so enabling wifi wont stop softAP
Bug: 109762575
Test: Local
Change-Id: If8a76fb33097c363dc3e94d99b22455db931470d
diff --git a/acts/tests/google/wifi/WifiStressTest.py b/acts/tests/google/wifi/WifiStressTest.py
index 063f557..af0150e 100755
--- a/acts/tests/google/wifi/WifiStressTest.py
+++ b/acts/tests/google/wifi/WifiStressTest.py
@@ -266,9 +266,7 @@
WifiEnums.WIFI_CONFIG_APBAND_5G)
wutils.start_wifi_connection_scan_and_ensure_network_found(
self.dut_client, ap_ssid)
- # Toggle WiFi ON, which inturn calls softAP teardown.
- wutils.wifi_toggle_state(self.dut, True)
- time.sleep(TIMEOUT)
+ wutils.stop_wifi_tethering(self.dut)
asserts.assert_false(self.dut.droid.wifiIsApEnabled(),
"SoftAp failed to shutdown!")
time.sleep(TIMEOUT)