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

View File

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