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

Unified Diff: server/site_linux_router.py

Issue 1708018: Default to 802.11g instead of 802.11b when hw_mode is not specified. (Closed)
Patch Set: 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 | 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 1084313d66747b110fd9b062dba1302fc1a2222d..d1b8072d1dc33de7fbbdb313fdd8d0bb3b972fba 100644
--- a/server/site_linux_router.py
+++ b/server/site_linux_router.py
@@ -59,7 +59,8 @@ class LinuxRouter(object):
'conf': {
'ssid': defssid,
'interface': self.wlanif,
- 'bridge': self.bridgeif
+ 'bridge': self.bridgeif,
+ 'hw_mode': 'g'
}
}
@@ -146,7 +147,7 @@ class LinuxRouter(object):
if freq <= 2484:
# Make sure hw_mode is set
if conf.get('hw_mode') == 'a':
- conf['hw_mode'] = 'b'
+ conf['hw_mode'] = 'g'
# Freq = 5 * chan + 2407, except channel 14
if freq == 2484:
« 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