Changeset 11740 in genesis for tools


Ignore:
Timestamp:
Feb 14, 2013, 10:25:35 AM (12 years ago)
Author:
rick
Message:

Making sure that 11g actually gets set, not sure why to hard-code it back to some boring default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r11739 r11740  
    608608      if ifacedump['mode'] in ['master', 'master-wds', 'ap', 'ap-wds']:
    609609        ifacedump['autogen_wlanmode'] = "ap"
    610       # Default to 802.11b mode
    611       ifacedump['mode'] = '11b'
    612       if ifacedump['type'] in ['11a', '11b' '11g']:
    613         ifacedump['mode'] = ifacedump['type']
    614610
    615611      if not ifacedump.has_key('channel'):
     
    627623      output += "wlans_%(autogen_ifbase)s='%(autogen_ifname)s'\n" % ifacedump
    628624      output += ("create_args_%(autogen_ifname)s='wlanmode %(autogen_wlanmode)s mode " +\
    629         "%(mode)s ssid %(ssid)s %(autogen_extra)s channel %(channel)s'\n") % ifacedump
     625        "%(type)s ssid %(ssid)s %(autogen_extra)s channel %(channel)s'\n") % ifacedump
    630626
    631627    elif ifacedump['type'] in ['ethernet', 'eth']:
Note: See TracChangeset for help on using the changeset viewer.