Changeset 7483 in genesis for tools


Ignore:
Timestamp:
Feb 14, 2010, 1:13:33 PM (15 years ago)
Author:
ad
Message:

First set mode (11b / 11g) then the channel of a wireless interface

File:
1 edited

Legend:

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

    r7441 r7483  
    251251          $output .= "create_args_$IFNAME=\"";
    252252
    253           if( $MODE{$if} =~/master/i ) {
    254             $output .= "wlanmode ap";
    255             $output .= " channel $CHANNEL{$interface}";
    256           } else {
    257             $output .= " wlanmode sta"
    258           }
    259 
    260253          if ( $SUBTYPE{$if} =~ /802.11a/i ) {
    261254            $output .= " mode 11a";
     
    265258            # Default output
    266259            $output .= " mode 11b";
     260          }
     261
     262           if( $MODE{$if} =~/master/i ) {
     263            $output .= "wlanmode ap";
     264            $output .= " channel $CHANNEL{$interface}";
     265          } else {
     266            $output .= " wlanmode sta"
    267267          }
    268268
Note: See TracChangeset for help on using the changeset viewer.