Changeset 22356


Ignore:
Timestamp:
2010-07-22T18:02:30+02:00 (7 years ago)
Author:
jow
Message:

[backfire] merge r22355

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/mac80211/files/lib/wifi/mac80211.sh

    r21354 r22356  
    207207        config_get country "$device" country 
    208208        config_get distance "$device" distance 
     209        config_get frag "$device" frag 
     210        config_get rts "$device" rts 
    209211        find_mac80211_phy "$device" || return 0 
    210212        config_get phy "$device" phy 
     
    220222 
    221223        [ -n "$distance" ] && iw phy "$phy" set distance "$distance" 
     224        [ -n "$frag" ] && iw phy "$phy" set frag "${frag%%.*}" 
     225        [ -n "$rts" ] && iw phy "$phy" set rts "${rts%%.*}" 
    222226 
    223227        export channel fixed 
     
    311315                txpower="${txpower:-$vif_txpower}" 
    312316                [ -z "$txpower" ] || iwconfig "$ifname" txpower "${txpower%%.*}" 
    313  
    314                 config_get frag "$vif" frag 
    315                 if [ -n "$frag" ]; then 
    316                         iw phy "$phy" set frag "${frag%%.*}" 
    317                 fi 
    318  
    319                 config_get rts "$vif" rts 
    320                 if [ -n "$rts" ]; then 
    321                         iw phy "$phy" set rts "${rts%%.*}" 
    322                 fi 
    323317        done 
    324318 
Note: See TracChangeset for help on using the changeset viewer.