Changeset 11740 in genesis
- Timestamp:
- Feb 14, 2013, 10:25:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r11739 r11740 608 608 if ifacedump['mode'] in ['master', 'master-wds', 'ap', 'ap-wds']: 609 609 ifacedump['autogen_wlanmode'] = "ap" 610 # Default to 802.11b mode611 ifacedump['mode'] = '11b'612 if ifacedump['type'] in ['11a', '11b' '11g']:613 ifacedump['mode'] = ifacedump['type']614 610 615 611 if not ifacedump.has_key('channel'): … … 627 623 output += "wlans_%(autogen_ifbase)s='%(autogen_ifname)s'\n" % ifacedump 628 624 output += ("create_args_%(autogen_ifname)s='wlanmode %(autogen_wlanmode)s mode " +\ 629 "%( mode)s ssid %(ssid)s %(autogen_extra)s channel %(channel)s'\n") % ifacedump625 "%(type)s ssid %(ssid)s %(autogen_extra)s channel %(channel)s'\n") % ifacedump 630 626 631 627 elif ifacedump['type'] in ['ethernet', 'eth']:
Note:
See TracChangeset
for help on using the changeset viewer.