git: b64015355ebb - stable/14 - bsdinstall: Fix wifi network selection size

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 20 May 2026 19:38:01 UTC
The branch stable/14 has been updated by markj:

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

commit b64015355ebbd3e27bc1e1a8e0ee7864b1dee3ba
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-05-20 13:43:35 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-20 19:37:14 +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
    
    (cherry picked from commit 55d29905489c975ee33b86d34f38e78b5ba29817)
---
 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 b5c488b22b2f..33d94a933f45 100755
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -223,7 +223,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\" \