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 /package | |
parent | e224d3e42d1152f5ff0cf25896b83b0396f66919 (diff) | |
download | mtk-20170518-437ffd097074a8d756bcfaad18ca7df8388b1701.zip mtk-20170518-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.gz mtk-20170518-437ffd097074a8d756bcfaad18ca7df8388b1701.tar.bz2 |
fix a harmless warning
SVN-Revision: 6650
Diffstat (limited to 'package')
-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 2fd839a..8b4751e 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 |