[PATCH] [madwifi] Detect every atheros device present
[openwrt-10.03/.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 24d371b386e3b111b8b68f217178e788865e2374..47241313b9ac4cf5a405b52e921a93db58028c12 100755 (executable)
@@ -361,7 +361,7 @@ detect_atheros() {
 "
                        ;;
                esac
-               [ "$type" = atheros ] && return
+               [ "$type" = atheros ] && continue
                cat <<EOF
 config wifi-device  $dev
        option type     atheros