Changeset 26164


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

[package] madwifi: Fix unique device autodetection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/files/lib/wifi/madwifi.sh

    r25951 r26164  
    407407} 
    408408 
    409 check_device() { 
     409check_atheros_device() { 
    410410        [ ${1%[0-9]} = "wifi" ] && config_set "$1" phy "$1" 
    411411        config_get phy "$1" phy 
     
    430430        for dev in $(ls -d wifi* 2>&-); do 
    431431                found=0 
    432                 config_foreach check_device wifi-device 
     432                config_foreach check_atheros_device wifi-device 
    433433                [ "$found" -gt 0 ] && continue 
    434434 
Note: See TracChangeset for help on using the changeset viewer.