Ignore:
Timestamp:
12/23/08 14:53:57 (4 years ago)
Author:
BrainSlayer
Message:

allow rate control settings for wisoc devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit-whrag108.c

    r10736 r11280  
    216216 
    217217    insmod( "ath_hal" ); 
    218     insmod( "ath_ahb" ); 
     218    if( nvram_get( "rate_control" ) != NULL ) 
     219    { 
     220        char rate[64]; 
     221 
     222        sprintf( rate, "ratectl=%s", nvram_safe_get( "rate_control" ) ); 
     223        eval( "insmod", "ath_ahb", rate ); 
     224    } 
     225    else 
     226    { 
     227        insmod( "ath_ahb" ); 
     228    } 
    219229 
    220230    system2( "echo 2 >/proc/sys/dev/wifi0/ledpin" ); 
Note: See TracChangeset for help on using the changeset viewer.