hostap-driver: Fix unique device autodetection
SVN-Revision: 26163
This commit is contained in:
parent
4fca99b1dc
commit
8692d2e7e3
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ enable_prism2() {
|
|||
|
||||
}
|
||||
|
||||
check_device() {
|
||||
check_prism2_device() {
|
||||
[ ${1%[0-9]} = "wlan" ] && config_set "$1" phy "$1"
|
||||
config_get phy "$1" phy
|
||||
[ -z "$phy" ] && {
|
||||
|
@ -242,7 +242,7 @@ detect_prism2() {
|
|||
[ -d wlan* ] || return
|
||||
for dev in $(ls -d wlan* 2>&-); do
|
||||
found=0
|
||||
config_foreach check_device wifi-device
|
||||
config_foreach check_prism2_device wifi-device
|
||||
[ "$found" -gt 0 ] && continue
|
||||
cat <<EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue