Browse Source

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 <[email protected]>

SVN-Revision: 15940
Jo-Philipp Wich 17 years ago
parent
commit
bd50b95bde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/madwifi/files/lib/wifi/madwifi.sh

+ 1 - 1
package/madwifi/files/lib/wifi/madwifi.sh

@@ -361,7 +361,7 @@ detect_atheros() {
 "
 			;;
 		esac
-		[ "$type" = atheros ] && return
+		[ "$type" = atheros ] && continue
 		cat <<EOF
 config wifi-device  $dev
 	option type     atheros