mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +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() {
|
detect_atheros() {
|
||||||
cd /proc/sys/dev
|
cd /proc/sys/dev
|
||||||
[ -d ath ] || return
|
[ -d ath ] || return
|
||||||
for dev in wifi*; do
|
for dev in $(ls wifi* 2>&-); do
|
||||||
config_get type "$dev" type
|
config_get type "$dev" type
|
||||||
[ "$type" = atheros ] && return
|
[ "$type" = atheros ] && return
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user