fix a small typo

SVN-Revision: 6654
This commit is contained in:
Felix Fietkau 2007-03-24 00:43:05 +00:00
parent 8e85262a8b
commit 080d4f6710

View File

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