git: 55d29905489c - main - bsdinstall: Fix wifi network selection size

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 20 May 2024 16:40:36 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/src/commit/?id=55d29905489c975ee33b86d34f38e78b5ba29817

commit 55d29905489c975ee33b86d34f38e78b5ba29817
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-05-20 13:43:35 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-05-20 16:39:29 +0000

    bsdinstall: Fix wifi network selection size
    
    Use correct variable while creating dialog used to select among
    available wireless networks
    
    Approved by:    asiciliano
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D45271
---
 usr.sbin/bsdinstall/scripts/wlanconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
index 338e4f0a4109..f044bc1cba98 100755
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -216,7 +216,7 @@ while :; do
 		f_dialog_title "Network Selection"
 		prompt="Select a wireless network to connect to."
 		f_dialog_menu_size height width rows "$DIALOG_TITLE" \
-			"$DIALOG_BACKTITLE" "$prompt" "" $menu_list
+			"$DIALOG_BACKTITLE" "$prompt" "" $NETWORKS
 		NETWORK=$( eval $DIALOG \
 			--title \"\$DIALOG_TITLE\"         \
 			--backtitle \"\$DIALOG_BACKTITLE\" \