sta_reset_default: Add handling for Location program
disable Interworking by default for the Location program.
Signed-off-by: priyadharshini gowthaman <pgowtham@qca.qualcomm.com>
diff --git a/sta.c b/sta.c
index a545a7a..04f11ce 100644
--- a/sta.c
+++ b/sta.c
@@ -4193,6 +4193,11 @@
dut->er_oper_performed = 0;
dut->er_oper_bssid[0] = '\0';
+ if (dut->program == PROGRAM_LOC) {
+ /* Disable Interworking by default */
+ wpa_command(get_station_ifname(), "SET interworking 0");
+ }
+
if (dut->program != PROGRAM_VHT)
return cmd_sta_p2p_reset(dut, conn, cmd);
return 1;