fix a small typo
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Mar 2007 00:43:05 +0000 (00:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Mar 2007 00:43:05 +0000 (00:43 +0000)
SVN-Revision: 6654

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

index 8b4751ef73dcf3992f2e8ef31c767fb7cfb76c54..720f3af87c2137b83ff629055b6ab8eadaab787d 100755 (executable)
@@ -231,7 +231,7 @@ EOF
 detect_atheros() {
        cd /proc/sys/dev
        [ -d ath ] || return
-       for dev in $(ls wifi* 2>&-); do
+       for dev in $(ls -d wifi* 2>&-); do
                config_get type "$dev" type
                [ "$type" = atheros ] && return
                cat <<EOF