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