Re: [OpenWrt-Devel] [PATCH] [madwifi] Detect every atheros device present

2009-05-20 Thread Jo-Philipp Wich
Committed in r15940.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [madwifi] Detect every atheros device present

2009-05-12 Thread Vasilis Tsiligiannis
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 
---
diff --git a/trunk/package/madwifi/files/lib/wifi/madwifi.sh 
b/trunk/package/madwifi/files/lib/wifi/madwifi.sh
index 1e5b0db..1812e94 100755
--- a/trunk/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/trunk/package/madwifi/files/lib/wifi/madwifi.sh
@@ -357,7 +357,7 @@ detect_atheros() {
 "
;;
esac
-   [ "$type" = atheros ] && return
+   [ "$type" = atheros ] && continue
cat