Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: server/site_linux_router.py

Issue 6473009: autotest: reset wifi ap config state on deconfig (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_linux_router.py
diff --git a/server/site_linux_router.py b/server/site_linux_router.py
index b17c0666767a82ff13f0b2c6fee7dfef9e24184c..a0a67f952f580da38147995b883a882535993296 100644
--- a/server/site_linux_router.py
+++ b/server/site_linux_router.py
@@ -345,6 +345,12 @@ class LinuxRouter(object):
self.hostapd['configured'] = False
+ # reset config state to default
+ self.hostapd['conf'] = {
+ 'ssid': self.defssid,
+ 'bridge': self.bridgeif,
+ 'hw_mode': 'g'
+ }
def get_ssid(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698