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

Unified Diff: server/site_wifitest.py

Issue 6603026: Test joining an IBSS (AdHoc) network (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: s/iw_config/station_config/ 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 | « server/site_tests/network_WiFiMatFunc/011CheckIBSS ('k') | server/site_wlan_connect.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_wifitest.py
diff --git a/server/site_wifitest.py b/server/site_wifitest.py
index a358457366f035f5b9968fe72583cbfb0a9a12da..adf7dcd58026603f2692fd5f2bf9a584d6f558b3 100644
--- a/server/site_wifitest.py
+++ b/server/site_wifitest.py
@@ -190,7 +190,7 @@ class WiFiTest(object):
ifmatch = re.search("Interface (\S*)", line)
if ifmatch is not None:
current_if = ifmatch.group(1)
- elif 'type managed' in line and current_if:
+ elif ('type managed' in line or 'type IBSS' in line) and current_if:
ret.append(current_if)
logging.info("Found wireless interfaces %s" % str(ret))
return ret
@@ -377,6 +377,8 @@ class WiFiTest(object):
flags.append('--debug')
if params.get('hidden', False):
flags.append('--hidden')
+ if 'mode' in params:
+ flags.append('--mode=%s' % params['mode'])
result = self.client.run('python "%s" %s "%s" "%s" "%s" "%d" "%d"' %
(script_client_file,
« no previous file with comments | « server/site_tests/network_WiFiMatFunc/011CheckIBSS ('k') | server/site_wlan_connect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698