Просмотр исходного кода

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 16 лет назад
Родитель
Сommit
bd50b95bde
1 измененных файлов с 1 добавлено и 1 удалено
  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