From: Felix Fietkau Date: Sat, 24 Mar 2007 00:43:05 +0000 (+0000) Subject: fix a small typo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=080d4f6710629125a483d7d78d3f9bd4794be022;p=openwrt%2Fstaging%2Fneocturne.git fix a small typo SVN-Revision: 6654 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 8b4751ef73..720f3af87c 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 $(ls wifi* 2>&-); do + for dev in $(ls -d wifi* 2>&-); do config_get type "$dev" type [ "$type" = atheros ] && return cat <