fix a harmless warning
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Mar 2007 16:48:43 +0000 (16:48 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Mar 2007 16:48:43 +0000 (16:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6650 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index 2fd839a..8b4751e 100755 (executable)
@@ -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
This page took 0.022867 seconds and 4 git commands to generate.