mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
Utils: Make sure the connect() logic disables brief output mode.
Otherwise, we hang waiting for RSLT, which is not sent in brief mode.
This commit is contained in:
@@ -42,6 +42,7 @@ sub connect {
|
||||
Timeout => 2);
|
||||
$t->max_buffer_length(16 * 1024 * 1000); # 16 MB buffer
|
||||
$t->waitfor($self->{prompt});
|
||||
$t->print("set_flag brief 0"); # If we leave it brief, RSLT prompt is not shown.
|
||||
if ($self->isQuiet()) {
|
||||
if (defined $ENV{'LOG_CLI'} && $ENV{'LOG_CLI'} ne "") {
|
||||
$self->cli_send_silent(0);
|
||||
|
||||
Reference in New Issue
Block a user