sta_reset_default: Fix 60G program check
The check for dut->program does not work for WPS tests, need to replace
it with the is_60g_sigma_dut() function to cover these cases.
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
diff --git a/sta.c b/sta.c
index c7bab48..42736d1 100644
--- a/sta.c
+++ b/sta.c
@@ -6700,7 +6700,7 @@
unlink("next-client-key.pem");
}
- if (dut->program == PROGRAM_60GHZ) {
+ if (is_60g_sigma_dut(dut)) {
const char *dev_role = get_param(cmd, "DevRole");
char buf[256];