diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 16:48:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 16:48:43 +0000 |
commit | 3438f73de218409f5b9d508f0be26655c3a9ca6b (patch) | |
tree | b5b611222f13981db439bac82746cce63bdae45f /package/madwifi/files | |
parent | fd6bbbeed6717a27875e0decdc17f1f529fccf67 (diff) | |
download | master-187ad058-3438f73de218409f5b9d508f0be26655c3a9ca6b.tar.gz master-187ad058-3438f73de218409f5b9d508f0be26655c3a9ca6b.tar.bz2 master-187ad058-3438f73de218409f5b9d508f0be26655c3a9ca6b.zip |
fix a harmless warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6650 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 2fd839a283..8b4751ef73 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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 |