Changeset 26163


Ignore:
Timestamp:
2011-03-15T01:43:42+01:00 (7 years ago)
Author:
acinonyx
Message:

[package] hostap-driver: Fix unique device autodetection

File:
1 edited

Legend:

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

    r26162 r26163  
    221221} 
    222222 
    223 check_device() { 
     223check_prism2_device() { 
    224224        [ ${1%[0-9]} = "wlan" ] && config_set "$1" phy "$1" 
    225225        config_get phy "$1" phy 
     
    243243        for dev in $(ls -d wlan* 2>&-); do 
    244244                found=0 
    245                 config_foreach check_device wifi-device 
     245                config_foreach check_prism2_device wifi-device 
    246246                [ "$found" -gt 0 ] && continue 
    247247                cat <<EOF 
Note: See TracChangeset for help on using the changeset viewer.