Changeset 7571 in genesis for tools/iris-8.0


Ignore:
Timestamp:
Mar 14, 2010, 6:30:13 PM (15 years ago)
Author:
richardvm
Message:

trac: nodefactory#90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/iris-8.0/wleiden.pl

    r7570 r7571  
    250250          $output .= "wlans_$if=\"$IFNAME\"\n";
    251251          $output .= "create_args_$IFNAME=\"";
     252          if( $MODE{$if} =~/master/i ) {
     253            $output .= "wlanmode ap";
     254          } else {
     255            $output .= "wlanmode sta"
     256          }
    252257          if ( $SUBTYPE{$if} =~ /802.11a/i ) {
    253258            $output .= " mode 11a";
     
    260265          $output .= " ssid $ESSID{$interface} regdomain ETSI country NL";
    261266          if( $MODE{$if} =~/master/i ) {
    262             $output .= " wlanmode ap";
    263267            $output .= " channel $CHANNEL{$interface}";
    264           } else {
    265             $output .= " wlanmode sta"
    266268          }
    267269          $output .= "\"\n";
Note: See TracChangeset for help on using the changeset viewer.