From eedcc9a2a67f302ae42472a8e02ece4c5b248a31 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Fri, 13 Jul 2018 08:46:10 -0700 Subject: [PATCH] associate: use 'DEFAULT' for AP Instead of AUTO, that is more in line with what our GUI does. --- lf_associate_ap.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lf_associate_ap.pl b/lf_associate_ap.pl index 22ca2a5e..d1c2e317 100755 --- a/lf_associate_ap.pl +++ b/lf_associate_ap.pl @@ -151,7 +151,7 @@ my $usage = qq($0 [--mgr {host-name | IP}] ## AP selection [--radio {name}] # e.g. wiphy2 [--ssid {ssid}] # e.g. jedtest - [--bssid {aa:bb:cc:00:11:22} # AP BSSID to connect to + [--bssid {aa:bb:cc:00:11:22, or DEFAULT} # AP BSSID to connect to [--security {open|wep|wpa|wpa2}] # station authentication type, Default is open [--xsec {comma,separated,list} ] # dot1x, 11u, other features, read script [--passphrase {...}] # implies wpa2 if --security not set @@ -491,7 +491,7 @@ sub fmt_vsta_cmd { my ($resource, $sta_wiphy, $sta_name, $flags, $ssid, $passphrase, $mac, $flags_mask, $wifi_m, $bssid ) = @_; die("fmt_vsta_cmd wants sta_wiphy name, bye.") unless($sta_wiphy); my $key = "[BLANK]"; - my $ap = "AUTO"; + my $ap = "DEFAULT"; if ((defined $bssid) && ($bssid ne "")) { $ap = $bssid; }