Changeset 16255


Ignore:
Timestamp:
2009-06-01T16:32:34+02:00 (8 years ago)
Author:
acinonyx
Message:

[hostap-driver] Add diversity option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostap-driver/files/lib/wifi/hostap.sh

    r16222 r16255  
    5555 
    5656        config_get rxantenna "$device" rxantenna 
     57        config_get txantenna "$device" txantenna 
     58        config_get_bool diversity "$device" diversity 
     59        [ -n "$diversity" ] && { 
     60                rxantenna="1" 
     61                txantenna="1" 
     62        } 
    5763        [ -n "$rxantenna" ] && iwpriv $device antsel_rx "$rxantenna" 
    58  
    59         config_get txantenna "$device" txantenna 
    6064        [ -n "$txantenna" ] && iwpriv $device antsel_tx "$txantenna" 
    6165 
Note: See TracChangeset for help on using the changeset viewer.