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 | 437ffd097074a8d756bcfaad18ca7df8388b1701 (patch) | |
tree | b4fa9a1eaee49f2486808ffda15c4ae5621d070c | |
parent | e224d3e42d1152f5ff0cf25896b83b0396f66919 (diff) | |
download | upstream-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.gz upstream-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.bz2 upstream-437ffd097074a8d756bcfaad18ca7df8388b1701.zip |
fix a harmless warning
SVN-Revision: 6650
-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 |