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

Unified Diff: server/site_linux_router.py

Issue 1696006: Integrate with autotest log. (Closed)
Patch Set: Iterate Created 10 years, 8 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 | server/site_tests/network_WiFiMatFunc/control » ('j') | 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 8af74be1efdb34c2cda45564aa806630229d9b9e..6c8c1b32f914724c8a1b3a7cb3883c9522dfbe15 100644
--- a/server/site_linux_router.py
+++ b/server/site_linux_router.py
@@ -45,7 +45,7 @@ class LinuxRouter(object):
self.phydev = m.group(1)
break
else:
- raise Exception("No Wireless NIC detected on the device")
+ raise error.TestFail("No Wireless NIC detected on the device")
else:
self.phydev = params['phydev']
@@ -131,7 +131,8 @@ class LinuxRouter(object):
conf = self.hostapd['conf']
htcaps = set()
- conf['driver'] = params.get('hostapd_driver', self.hostapd['driver'])
+ conf['driver'] = params.get('hostapd_driver',
+ self.hostapd['driver'])
for k, v in params.iteritems():
if k == 'ssid':
@@ -207,7 +208,8 @@ class LinuxRouter(object):
elif k == 'shortgi':
htcaps.add('[SHORT-GI-20]')
htcaps.add('[SHORT-GI-40]')
- elif k == 'pureg' or k == 'puren' or k == 'wepmode' or k == 'rifs':
+ elif k == 'pureg' or k == 'puren' or k == 'wepmode' \
+ or k == 'rifs' or k == 'protmode':
# no support
pass
else:
« no previous file with comments | « no previous file | server/site_tests/network_WiFiMatFunc/control » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698