Skip to content

Commit

Permalink
STA: Start log collection at beginning of the reset defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
  • Loading branch information
Kiran Kumar Lokere authored and Jouni Malinen committed Feb 14, 2025
1 parent f7501f2 commit 8026fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -11186,6 +11186,9 @@ static enum sigma_cmd_result cmd_sta_reset_default(struct sigma_dut *dut,
if (type && strcasecmp(type, "DUT") == 0)
dut->device_type = STA_dut;

if (get_param(cmd, "Runtime_ID"))
dev_start_test_log(dut, conn, cmd);

if (dut->program == PROGRAM_TDLS) {
/* Clear TDLS testing mode */
wpa_command(intf, "SET tdls_disabled 0");
Expand Down Expand Up @@ -11216,9 +11219,6 @@ static enum sigma_cmd_result cmd_sta_reset_default(struct sigma_dut *dut,
break;
}

if (get_param(cmd, "Runtime_ID"))
dev_start_test_log(dut, conn, cmd);

#ifdef ANDROID_NAN
if (dut->program == PROGRAM_NAN)
nan_cmd_sta_reset_default(dut, conn, cmd);
Expand Down

0 comments on commit 8026fa9

Please sign in to comment.