[Tests]Fix for roaming and acs tests.
Bug: 79534733
Test: Tested locally
Change-Id: Ie7a5f4bf74ba28f0b0d6ebd70b6ca8875eb8cab1
diff --git a/acts/tests/google/wifi/WifiSoftApAcsTest.py b/acts/tests/google/wifi/WifiSoftApAcsTest.py
index 2c22d25..ad4403a 100755
--- a/acts/tests/google/wifi/WifiSoftApAcsTest.py
+++ b/acts/tests/google/wifi/WifiSoftApAcsTest.py
@@ -90,6 +90,7 @@
del self.user_params["open_network"]
except:
pass
+ self.access_points[0].close()
def teardown_class(self):
if hasattr(self, 'iperf_server'):
@@ -149,7 +150,7 @@
softap_info = self.dut_client.droid.wifiGetConnectionInfo()
self.log.debug("DUT is connected to softAP %s with details: %s" %
(softap[wutils.WifiEnums.SSID_KEY], softap_info))
- frequency = softap_info['link_speed']
+ frequency = softap_info['frequency']
return hostapd_constants.CHANNEL_MAP[frequency]
def configure_ap(self, channel_2g=None, channel_5g=None):