diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 00:43:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 00:43:05 +0000 |
commit | 080d4f6710629125a483d7d78d3f9bd4794be022 (patch) | |
tree | 25568c0c931aba27b4150065d8f7c6840819701a /package/madwifi/files | |
parent | 8e85262a8b9095291dae051ba21d6bb72daa8178 (diff) | |
download | mtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.zip mtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.tar.gz mtk-20170518-080d4f6710629125a483d7d78d3f9bd4794be022.tar.bz2 |
fix a small typo
SVN-Revision: 6654
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
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 |