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 8b4751e..720f3af 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