fix a harmless warning

SVN-Revision: 6650
This commit is contained in:
Felix Fietkau 2007-03-23 16:48:43 +00:00
parent e224d3e42d
commit 437ffd0970
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