summaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-24 00:43:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-24 00:43:05 +0000
commit080d4f6710629125a483d7d78d3f9bd4794be022 (patch)
tree25568c0c931aba27b4150065d8f7c6840819701a /package/madwifi
parent8e85262a8b9095291dae051ba21d6bb72daa8178 (diff)
downloadmaster-31e0f0ae-080d4f6710629125a483d7d78d3f9bd4794be022.tar.gz
master-31e0f0ae-080d4f6710629125a483d7d78d3f9bd4794be022.tar.bz2
master-31e0f0ae-080d4f6710629125a483d7d78d3f9bd4794be022.zip
fix a small typo
SVN-Revision: 6654
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
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 <<EOF