From 080d4f6710629125a483d7d78d3f9bd4794be022 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Mar 2007 00:43:05 +0000 Subject: [PATCH] fix a small typo SVN-Revision: 6654 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 8b4751ef73dc..720f3af87c21 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 <