mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:48:27 +02:00
fix a harmless warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6650 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
18030f8bda
commit
78a4e88e76
@ -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