From: Jo-Philipp Wich Date: Wed, 20 May 2009 20:44:19 +0000 (+0000) Subject: Detect every atheros device present This patch is for boards with more than one ather... X-Git-Tag: reboot~23512 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=bd50b95bdee3e93e1ec50f4724cda09294eb00bc;p=openwrt%2Fopenwrt.git Detect every atheros device present This patch is for boards with more than one atheros devices. It changes detect_atheros() function to continue with the detection of every device present and don't return when just one is found Signed-off-by: Vasilis Tsiligiannis SVN-Revision: 15940 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 24d371b386..47241313b9 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -361,7 +361,7 @@ detect_atheros() { " ;; esac - [ "$type" = atheros ] && return + [ "$type" = atheros ] && continue cat <