Merge "Add more descriptions to AP init function" am: 9bbc302234
am: 26db65abce
Test: None
Bug: 65563975
Change-Id: I30bad517963027efee0487f9e9f37e5acf14cd53
(cherry picked from commit cb4406b2cb864f30606dd10772cf6132c0ddac5a)
diff --git a/acts/framework/acts/controllers/access_point.py b/acts/framework/acts/controllers/access_point.py
index d293ec6..f537bc8 100755
--- a/acts/framework/acts/controllers/access_point.py
+++ b/acts/framework/acts/controllers/access_point.py
@@ -145,8 +145,11 @@
Bring down hostapd if instance is running, bring down all bridge
interfaces.
"""
- # Stop hostapd instance if running
try:
+ # This is necessary for Gale/Whirlwind flashed with dev channel image
+ # Unused interfaces such as existing hostapd daemon, guest, mesh
+ # interfaces need to be brought down as part of the AP initialization
+ # process, otherwise test would fail.
try:
self.ssh.run('stop hostapd')
except job.Error: