From 437ffd097074a8d756bcfaad18ca7df8388b1701 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 23 Mar 2007 16:48:43 +0000 Subject: [PATCH] fix a harmless warning SVN-Revision: 6650 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 2fd839a283e..8b4751ef73d 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 wifi*; do + for dev in $(ls wifi* 2>&-); do config_get type "$dev" type [ "$type" = atheros ] && return cat <