mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 18:34:53 +00:00
fix a harmless warning
SVN-Revision: 6650
This commit is contained in:
parent
e224d3e42d
commit
437ffd0970
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user