fix a harmless warning

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6650 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-03-23 16:48:43 +00:00
parent fd6bbbeed6
commit 3438f73de2
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ EOF
detect_atheros() {
cd /proc/sys/dev
[ -d ath ] || return
for dev in wifi*; do
for dev in $(ls wifi* 2>&-); do
config_get type "$dev" type
[ "$type" = atheros ] && return
cat <<EOF