projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e224d3e
)
fix a harmless warning
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Mar 2007 16:48:43 +0000
(16:48 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 23 Mar 2007 16:48:43 +0000
(16:48 +0000)
SVN-Revision: 6650
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 2fd839a283e894c39dadd6be6045365bb9d9112f..8b4751ef73dcf3992f2e8ef31c767fb7cfb76c54 100755
(executable)
--- 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
wifi*
; do
+ for dev in
$(ls wifi* 2>&-)
; do
config_get type "$dev" type
[ "$type" = atheros ] && return
cat <<EOF