Changeset 6516 for trunk


Ignore:
Timestamp:
Dec 30, 2008, 10:49:42 AM (16 years ago)
Author:
roland
Message:

Fixed error in assigning directions for antennas.
Only the master interface of an ssid has a direction defined in genesis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/scripts/genesis_to_exodus.py

    r6510 r6516  
    140140
    141141                            # key is named differently in genesis -> exodus
    142                             if config.has_option(cfgsection, 'compass-direction'):
     142                            if config.has_option(cfgsection, \
     143                                    'compass-direction') and \
     144                                    config.has_option(cfgsection, 'mode') and \
     145                                    config.get(cfgsection, 'mode') == 'ms':
    143146                                interface['direction'] = config.get(cfgsection, 'compass-direction')
    144147                            else:
Note: See TracChangeset for help on using the changeset viewer.