aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-23 16:48:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-23 16:48:43 +0000
commit437ffd097074a8d756bcfaad18ca7df8388b1701 (patch)
treeb4fa9a1eaee49f2486808ffda15c4ae5621d070c /package/madwifi/files
parente224d3e42d1152f5ff0cf25896b83b0396f66919 (diff)
downloadupstream-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.gz
upstream-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.bz2
upstream-437ffd097074a8d756bcfaad18ca7df8388b1701.zip
fix a harmless warning
SVN-Revision: 6650
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
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