Detect every atheros device present This patch is for boards with more than one ather...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 20 May 2009 20:44:19 +0000 (20:44 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 20 May 2009 20:44:19 +0000 (20:44 +0000)
SVN-Revision: 15940

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