summaryrefslogtreecommitdiff
path: root/package
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
parent8e85262a8b9095291dae051ba21d6bb72daa8178 (diff)
downloadmtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.zip
mtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.tar.gz
mtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.tar.bz2
fix a small typo
SVN-Revision: 6654
Diffstat (limited to 'package')
-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 8b4751e..720f3af 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